diff options
author | Andre McCurdy <armccurdy@gmail.com> | 2017-04-24 14:41:15 -0700 |
---|---|---|
committer | Martin Jansa <Martin.Jansa@gmail.com> | 2017-04-26 20:14:16 +0200 |
commit | a0b2e6f4fca7ac907eb7d6e06ca4c1581a5c553f (patch) | |
tree | 530145b4954e3957229a4668947ecd41572cae79 /meta-oe/recipes-extended/mozjs | |
parent | 94699f3f855bbffbfcd76c44d2b17fd6b8b40b74 (diff) | |
download | meta-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.bb | 5 |
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 | ||
27 | DEPENDS += "nspr zlib" | 27 | DEPENDS += "nspr zlib" |
28 | 28 | ||
29 | # Host specific flags need to be defined, otherwise target flags will be passed to the host | ||
30 | export HOST_CFLAGS = "${BUILD_CFLAGS}" | ||
31 | export HOST_CXXFLAGS = "${BUILD_CXXFLAGS}" | ||
32 | export 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 |
30 | EXTRA_OECONF = " \ | 35 | EXTRA_OECONF = " \ |
31 | --target=${TARGET_SYS} \ | 36 | --target=${TARGET_SYS} \ |