diff options
-rw-r--r-- | meta/recipes-support/nss/nss.inc | 13 |
1 files changed, 7 insertions, 6 deletions
diff --git a/meta/recipes-support/nss/nss.inc b/meta/recipes-support/nss/nss.inc index 4be35576a4..4082930ace 100644 --- a/meta/recipes-support/nss/nss.inc +++ b/meta/recipes-support/nss/nss.inc @@ -74,8 +74,12 @@ do_compile() { export USE_64=1 fi - make -C ./nss CCC="${CXX}" \ - OS_TEST=${OS_TEST} \ + # We can modify CC in the environment, but if we set it via an + # argument to make, nsinstall, a host program, will also build with it! + # + export CC="${CC} -g" + make -C ./nss CCC="${CXX} -g" \ + OS_TEST=${OS_TEST} } @@ -204,9 +208,6 @@ FILES_${PN}-dev = "\ ${libdir}/pkgconfig/* \ ${includedir}/* \ " -FILES_${PN}-dbg = "\ - ${bindir}/.debug/* \ - ${libdir}/.debug/* \ - " +# FILES_${PN}-dbg is populated automatically BBCLASSEXTEND = "native nativesdk" |