summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--meta/recipes-support/nspr/nspr_4.16.bb2
-rw-r--r--meta/recipes-support/nss/nss_3.31.1.bb6
2 files changed, 4 insertions, 4 deletions
diff --git a/meta/recipes-support/nspr/nspr_4.16.bb b/meta/recipes-support/nspr/nspr_4.16.bb
index bb178fe712..78ef994ffd 100644
--- a/meta/recipes-support/nspr/nspr_4.16.bb
+++ b/meta/recipes-support/nspr/nspr_4.16.bb
@@ -155,7 +155,7 @@ PACKAGECONFIG ??= "${@bb.utils.filter('DISTRO_FEATURES', 'ipv6', d)}"
155PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6," 155PACKAGECONFIG[ipv6] = "--enable-ipv6,--disable-ipv6,"
156 156
157do_compile_prepend() { 157do_compile_prepend() {
158 oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX" LDFLAGS="" CC=gcc -C config export 158 oe_runmake CROSS_COMPILE=1 CFLAGS="-DXP_UNIX ${BUILD_CFLAGS}" LDFLAGS="" CC="${BUILD_CC}" -C config export
159} 159}
160 160
161do_compile_append() { 161do_compile_append() {
diff --git a/meta/recipes-support/nss/nss_3.31.1.bb b/meta/recipes-support/nss/nss_3.31.1.bb
index 955862fddb..588708fc31 100644
--- a/meta/recipes-support/nss/nss_3.31.1.bb
+++ b/meta/recipes-support/nss/nss_3.31.1.bb
@@ -66,8 +66,8 @@ do_compile_prepend_class-native() {
66 66
67do_compile() { 67do_compile() {
68 export CROSS_COMPILE=1 68 export CROSS_COMPILE=1
69 export NATIVE_CC="gcc" 69 export NATIVE_CC="${BUILD_CC}"
70 export NATIVE_FLAGS="${HOST_CFLAGS}" 70 export NATIVE_FLAGS="${BUILD_CFLAGS}"
71 export BUILD_OPT=1 71 export BUILD_OPT=1
72 72
73 export FREEBL_NO_DEPEND=1 73 export FREEBL_NO_DEPEND=1
@@ -118,7 +118,7 @@ do_install_prepend_class-nativesdk() {
118 118
119do_install() { 119do_install() {
120 export CROSS_COMPILE=1 120 export CROSS_COMPILE=1
121 export NATIVE_CC="gcc" 121 export NATIVE_CC="${BUILD_CC}"
122 export BUILD_OPT=1 122 export BUILD_OPT=1
123 123
124 export FREEBL_NO_DEPEND=1 124 export FREEBL_NO_DEPEND=1