mirror of
git://git.openembedded.org/meta-openembedded
synced 2026-01-01 13:58:06 +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:
parent
94699f3f85
commit
a0b2e6f4fc
|
|
@ -26,6 +26,11 @@ inherit autotools pkgconfig perlnative pythonnative
|
|||
|
||||
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
|
||||
EXTRA_OECONF = " \
|
||||
--target=${TARGET_SYS} \
|
||||
|
|
|
|||
Loading…
Reference in New Issue
Block a user