aboutsummaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended
diff options
context:
space:
mode:
authorHongxu Jia <hongxu.jia@windriver.com>2018-08-03 14:40:32 +0800
committerKhem Raj <raj.khem@gmail.com>2018-08-03 09:34:29 -0700
commiteedd084d3b29e2ad96433f24d601bcb76f542769 (patch)
tree3007266446881639fa1734637ecf49e396589fba /meta-oe/recipes-extended
parent240b92343ea836b408bc5a0d9678bffa36d7a819 (diff)
downloadmeta-openembedded-eedd084d3b29e2ad96433f24d601bcb76f542769.tar.gz
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>
Diffstat (limited to 'meta-oe/recipes-extended')
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb1
1 files changed, 1 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb b/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
index 29156e5787..fe9698fbf8 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb
@@ -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}
}