From eedd084d3b29e2ad96433f24d601bcb76f542769 Mon Sep 17 00:00:00 2001 From: Hongxu Jia Date: Fri, 3 Aug 2018 14:40:32 +0800 Subject: 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 Signed-off-by: Khem Raj --- meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb | 1 + 1 file changed, 1 insertion(+) (limited to 'meta-oe/recipes-extended/mozjs') 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} } -- cgit 1.2.3-korg