summaryrefslogtreecommitdiffstats
path: root/gnu
diff options
context:
space:
mode:
authorkan <kan@FreeBSD.org>2016-01-27 20:20:35 +0000
committerkan <kan@FreeBSD.org>2016-01-27 20:20:35 +0000
commit259ddf80ecfd4b3c47d6baf7ed8b7f6882dae51d (patch)
treea66e2a5f86e6d5131f094aef6fa335f5ec305562 /gnu
parent0e3463672209718efb883b2e8b3580c7ea014463 (diff)
downloadFreeBSD-src-259ddf80ecfd4b3c47d6baf7ed8b7f6882dae51d.zip
FreeBSD-src-259ddf80ecfd4b3c47d6baf7ed8b7f6882dae51d.tar.gz
Make .debug file for libgcc_s.so.1 more useful.
The files compiled into libgcc_s.so.1 did not have -g on compiler command line, making generated .debug quite pointless.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/lib/libgcc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile
index cdf62dd..05f7961 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -211,7 +211,7 @@ COMMONHDRS+= unwind.h
HIDE = -fvisibility=hidden -DHIDE_EXPORTS
CC_T = ${CC} -c ${CFLAGS} ${HIDE} -fPIC
CC_P = ${CC} -c ${CFLAGS} ${HIDE} -p -fPIC
-CC_S = ${CC} -c ${CFLAGS} ${PICFLAG} -DSHARED
+CC_S = ${CC} -c ${CFLAGS} ${SHARED_CFLAGS} ${PICFLAG} -DSHARED
#-----------------------------------------------------------------------
#
OpenPOWER on IntegriCloud