[oe-commits] [meta-openembedded] 06/43: mozjs: tweak location of tmp dir creation
git at git.openembedded.org
git at git.openembedded.org
Mon Aug 13 06:24:34 UTC 2018
This is an automated email from the git hooks/post-receive script.
khem pushed a commit to branch master-next
in repository meta-openembedded.
commit eedd084d3b29e2ad96433f24d601bcb76f542769
Author: Hongxu Jia <hongxu.jia at windriver.com>
AuthorDate: Fri Aug 3 14:40:32 2018 +0800
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 at windriver.com>
Signed-off-by: Khem Raj <raj.khem at gmail.com>
---
meta-oe/recipes-extended/mozjs/mozjs_52.8.1.bb | 1 +
1 file changed, 1 insertion(+)
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 29156e5..fe9698f 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}
}
--
To stop receiving notification emails like this one, please contact
the administrator of this repository.
More information about the Openembedded-commits
mailing list