mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-02 13:59:59 +00:00
mozjs: tweak location of tmp dir creation
The tmp dir creation is out of build dir which has the risk to be broken by others. ... | File "build/tmp-glibc/work/i586-wrs-linux/mozjs/52.8.1-r0/ mozjs-52.8.1/build/moz.configure/util.configure", line 190, in try_invoke_compiler | os.remove(path) | OSError: [Errno 2] No such file or directory: '/tmp/conftest.OiV37V.cpp' ... Set var-TMP for tempfile.mktemp to use current build dir to replace default `/tmp'. Signed-off-by: Hongxu Jia <hongxu.jia@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -51,6 +51,7 @@ EXTRA_OEMAKE_task-install += "STATIC_LIBRARY_NAME=js_static"
|
||||
|
||||
do_configure() {
|
||||
export SHELL="/bin/sh"
|
||||
export TMP="${B}"
|
||||
${S}/js/src/configure ${EXTRA_OECONF}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user