mirror of
https://git.yoctoproject.org/poky
synced 2026-06-01 00:59:48 +00:00
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>
This commit is contained in:
committed by
Richard Purdie
parent
937beb5d94
commit
1a2fb23f56
@@ -104,7 +104,12 @@ do_compile() {
|
|||||||
# We can modify CC in the environment, but if we set it via an
|
# 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!
|
# argument to make, nsinstall, a host program, will also build with it!
|
||||||
#
|
#
|
||||||
export CC="${CC} -g"
|
# nss pretty much does its own thing with CFLAGS, so we put them into CC.
|
||||||
|
# Optimization will get clobbered, but most of the stuff will survive.
|
||||||
|
# The motivation for this is to point to the correct place for debug
|
||||||
|
# source files and CFLAGS does that. Nothing uses CCC.
|
||||||
|
#
|
||||||
|
export CC="${CC} ${CFLAGS}"
|
||||||
make -C ./nss CCC="${CXX} -g" \
|
make -C ./nss CCC="${CXX} -g" \
|
||||||
OS_TEST=${OS_TEST} \
|
OS_TEST=${OS_TEST} \
|
||||||
RPATH="${RPATH}"
|
RPATH="${RPATH}"
|
||||||
|
|||||||
Reference in New Issue
Block a user