mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-04 14:39:54 +00:00
mozjs: specify TMPDIR
Although it is extremely rare the following type of error can occur during configuration: Creating `/tmp/conftest.i53clm4z.cpp` with content: ... x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: error: /tmp/conftest.i53clm4z.cpp: No such file or directory x86_64-wrs-linux-g++: fatal error: no input files So, specify a local directory as TMPDIR during configuration. Signed-off-by: Joe Slater <joe.slater@windriver.com> Signed-off-by: Khem Raj <raj.khem@gmail.com>
This commit is contained in:
@@ -100,7 +100,9 @@ do_configure() {
|
||||
autoconf213 --macrodir=${STAGING_DATADIR_NATIVE}/autoconf213 old-configure.in > old-configure
|
||||
|
||||
cd ${B}
|
||||
${S}/js/src/configure ${EXTRA_OECONF}
|
||||
# use of /tmp can causes problems on heavily loaded hosts
|
||||
mkdir -p "${B}/lcl_tmp"
|
||||
TMPDIR="${B}/lcl_tmp" ${S}/js/src/configure ${EXTRA_OECONF}
|
||||
|
||||
# Make standard Makefile checks pass
|
||||
touch ${S}/js/src/configure
|
||||
|
||||
Reference in New Issue
Block a user