summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoremaste <emaste@FreeBSD.org>2016-05-20 19:05:33 +0000
committeremaste <emaste@FreeBSD.org>2016-05-20 19:05:33 +0000
commitf5f38d872693a1839664d30be45d20ace6b9e539 (patch)
tree3cb4d51fb9a92690418a0d7d5f448fae37865e25
parent9dc28fc6aed424e7056f65c355187e16fd3a9ef9 (diff)
downloadFreeBSD-src-f5f38d872693a1839664d30be45d20ace6b9e539.zip
FreeBSD-src-f5f38d872693a1839664d30be45d20ace6b9e539.tar.gz
MFC r294935 (kan): 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. PR: 206381
-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 f5bf4bb..caecc3b 100644
--- a/gnu/lib/libgcc/Makefile
+++ b/gnu/lib/libgcc/Makefile
@@ -186,7 +186,7 @@ COMMONHDRS= tm.h tconfig.h options.h unwind.h gthr-default.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