summaryrefslogtreecommitdiffstats
path: root/meta-oe/recipes-extended/mozjs
diff options
context:
space:
mode:
authorAndre McCurdy <armccurdy@gmail.com>2017-04-24 14:41:15 -0700
committerMartin Jansa <Martin.Jansa@gmail.com>2017-04-26 20:14:16 +0200
commita0b2e6f4fca7ac907eb7d6e06ca4c1581a5c553f (patch)
tree530145b4954e3957229a4668947ecd41572cae79 /meta-oe/recipes-extended/mozjs
parent94699f3f855bbffbfcd76c44d2b17fd6b8b40b74 (diff)
downloadmeta-openembedded-a0b2e6f4fca7ac907eb7d6e06ca4c1581a5c553f.tar.gz
mozjs: prevent target CFLAGS etc being passed to the host
Signed-off-by: Andre McCurdy <armccurdy@gmail.com> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com>
Diffstat (limited to 'meta-oe/recipes-extended/mozjs')
-rw-r--r--meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb5
1 files changed, 5 insertions, 0 deletions
diff --git a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
index 6c9920ef4..b6744395f 100644
--- a/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
+++ b/meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb
@@ -26,6 +26,11 @@ inherit autotools pkgconfig perlnative pythonnative
26 26
27DEPENDS += "nspr zlib" 27DEPENDS += "nspr zlib"
28 28
29# Host specific flags need to be defined, otherwise target flags will be passed to the host
30export HOST_CFLAGS = "${BUILD_CFLAGS}"
31export HOST_CXXFLAGS = "${BUILD_CXXFLAGS}"
32export HOST_LDFLAGS = "${BUILD_LDFLAGS}"
33
29# nspr's package-config is ignored so set libs manually 34# nspr's package-config is ignored so set libs manually
30EXTRA_OECONF = " \ 35EXTRA_OECONF = " \
31 --target=${TARGET_SYS} \ 36 --target=${TARGET_SYS} \