summaryrefslogtreecommitdiffstats
path: root/meta/recipes-support/nss
diff options
context:
space:
mode:
authorNikolay Merinov <n.merinov@inango-systems.com>2017-10-05 12:25:39 +0500
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-10-07 23:20:40 +0100
commit4c3b62507713101d0603cef04a2a2c20c268f897 (patch)
treeb3594f3b0a4fad62080c2e15d0680e483042ec31 /meta/recipes-support/nss
parentd2015feaaf427fea1fbbac56bfc16a9111213888 (diff)
downloadpoky-4c3b62507713101d0603cef04a2a2c20c268f897.tar.gz
nspr, nss: Use BUILD_CC instead of hardcoded "gcc"
Recipes nspr_4.16.bb and nss_3.31.1.bb ignored BUILD_CC and it's BUILD_CFLAGS and tried to compile with hardcoded "gcc" instead. As result build for this recipes will fail if host use different name for compiler or require any flags. (From OE-Core rev: 79e3339ab9edacb9e34d3725305d5880a974364a) Signed-off-by: Nikolay Merinov <n.merinov@inango-systems.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta/recipes-support/nss')
-rw-r--r--meta/recipes-support/nss/nss_3.31.1.bb6
1 files changed, 3 insertions, 3 deletions
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