summaryrefslogtreecommitdiffstats
path: root/meta
diff options
context:
space:
mode:
authorJoe Slater <jslater@windriver.com>2017-11-15 10:54:09 -0800
committerRichard Purdie <richard.purdie@linuxfoundation.org>2017-12-04 17:24:00 +0000
commit1a2fb23f56851cd09f3fd7aa525bf1b6ecdde284 (patch)
tree807e3e5df677f0dc3ec5ded4c446c1d1c7e95284 /meta
parent937beb5d94afc994e123a2be50eb5c4d327206e9 (diff)
downloadpoky-1a2fb23f56851cd09f3fd7aa525bf1b6ecdde284.tar.gz
nss: pay attention to CFLAGS
nss ignores CFLAGS so we suggest them via CC. (From OE-Core rev: 7484c62f88311dbc1e9ade524af31d04e6035bf4) Signed-off-by: Joe Slater <jslater@windriver.com> Signed-off-by: Ross Burton <ross.burton@intel.com> (cherry picked from commit 95b65eefe7eb001752a37d1015bbf9be63bfd6bb) Signed-off-by: Armin Kuster <akuster808@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
Diffstat (limited to 'meta')
-rw-r--r--meta/recipes-support/nss/nss_3.31.1.bb7
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss_3.31.1.bb b/meta/recipes-support/nss/nss_3.31.1.bb
index 588708fc31..2bb9bdb0c6 100644
--- a/meta/recipes-support/nss/nss_3.31.1.bb
+++ b/meta/recipes-support/nss/nss_3.31.1.bb
@@ -104,7 +104,12 @@ do_compile() {
104 # We can modify CC in the environment, but if we set it via an 104 # We can modify CC in the environment, but if we set it via an
105 # argument to make, nsinstall, a host program, will also build with it! 105 # argument to make, nsinstall, a host program, will also build with it!
106 # 106 #
107 export CC="${CC} -g" 107 # nss pretty much does its own thing with CFLAGS, so we put them into CC.
108 # Optimization will get clobbered, but most of the stuff will survive.
109 # The motivation for this is to point to the correct place for debug
110 # source files and CFLAGS does that. Nothing uses CCC.
111 #
112 export CC="${CC} ${CFLAGS}"
108 make -C ./nss CCC="${CXX} -g" \ 113 make -C ./nss CCC="${CXX} -g" \
109 OS_TEST=${OS_TEST} \ 114 OS_TEST=${OS_TEST} \
110 RPATH="${RPATH}" 115 RPATH="${RPATH}"