[blfs] 04/04: spidermonkey: set MOZBUILD_STATE_PATH like Firefox
| Newsgroups | gmane.linux.lfs.beyond.book |
|---|---|
| Message-ID | <[email protected]> |
This is an automated email from the git hooks/post-receive script. git pushed a commit to branch trunk in repository blfs. commit 58eaa01043bf4549cf3aeabcc9a979b476beac6d Author: Xi Ruoyao <[email protected]> AuthorDate: Sat Jul 18 15:05:58 2026 +0800 spidermonkey: set MOZBUILD_STATE_PATH like Firefox --- general/genlib/spidermonkey.xml | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/general/genlib/spidermonkey.xml b/general/genlib/spidermonkey.xml index de79b6a63a..a732832e9c 100644 --- a/general/genlib/spidermonkey.xml +++ b/general/genlib/spidermonkey.xml @@ -181,6 +181,7 @@ sed '/name = "encoding_rs"/,/^$/{/source/d;/checksum/d}' -i Cargo.lock</userinpu <screen><userinput>mkdir obj && cd obj && +MOZBUILD_STATE_PATH=${PWD}/mozbuild \ ../js/src/configure --prefix=/usr \ --disable-debug-symbols \ --disable-jemalloc \ @@ -304,6 +305,13 @@ sed -i '/@NSPR_CFLAGS@/d' /usr/bin/js&spidermonkey-major;-config</userinput></sc <sect2 role="commands"> <title>Command Explanations</title> + <para> + <envar>MOZBUILD_STATE_PATH=${PWD}/mozbuild</envar>: Override the + default location + (<filename class='directory'>${HOME}/.mozbuild</filename>) for the + cache of the build system, to avoid pulluating the home directory. + </para> + <para> <parameter>--disable-debug-symbols</parameter>: Don't generate debug symbols since they are very large and most users won't need it. Remove -- To stop receiving notification emails like this one, please contact the administrator of this repository. -- http://lists.linuxfromscratch.org/sympa/info/blfs-book Unsubscribe: See the above information page