diff options
Diffstat (limited to 'meta/recipes-support/nss')
-rw-r--r-- | meta/recipes-support/nss/nss_3.33.bb | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/meta/recipes-support/nss/nss_3.33.bb b/meta/recipes-support/nss/nss_3.33.bb index e3d4f96946..06d81ce05d 100644 --- a/meta/recipes-support/nss/nss_3.33.bb +++ b/meta/recipes-support/nss/nss_3.33.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}" |