mirror of
https://github.com/openembedded/meta-openembedded.git
synced 2026-06-13 17:39:57 +00:00
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>
This commit is contained in:
committed by
Martin Jansa
parent
94699f3f85
commit
a0b2e6f4fc
@@ -26,6 +26,11 @@ inherit autotools pkgconfig perlnative pythonnative
|
|||||||
|
|
||||||
DEPENDS += "nspr zlib"
|
DEPENDS += "nspr zlib"
|
||||||
|
|
||||||
|
# Host specific flags need to be defined, otherwise target flags will be passed to the host
|
||||||
|
export HOST_CFLAGS = "${BUILD_CFLAGS}"
|
||||||
|
export HOST_CXXFLAGS = "${BUILD_CXXFLAGS}"
|
||||||
|
export HOST_LDFLAGS = "${BUILD_LDFLAGS}"
|
||||||
|
|
||||||
# nspr's package-config is ignored so set libs manually
|
# nspr's package-config is ignored so set libs manually
|
||||||
EXTRA_OECONF = " \
|
EXTRA_OECONF = " \
|
||||||
--target=${TARGET_SYS} \
|
--target=${TARGET_SYS} \
|
||||||
|
|||||||
Reference in New Issue
Block a user