mozjs: prevent target CFLAGS etc being passed to the host
PATCH 1/1 mozjs: prevent target CFLAGS etc being passed to the host
Signed-off-by Andre McCurdy <[email protected]>
--- meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb | 5 +++++ 1 file changed, 5 insertions(+)
meta-oe/recipes-extended/mozjs/mozjs_17.0.0.bb +5 -0
@@ -27,6 +27,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} \
Signature · 1 line
1.9.1