From ce9a388eb35d2c0d9c61fe1833dafaebc8d0deb5 Mon Sep 17 00:00:00 2001 From: Ed Maste Date: Fri, 20 May 2016 19:05:33 +0000 Subject: [PATCH] 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 --- gnu/lib/libgcc/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gnu/lib/libgcc/Makefile b/gnu/lib/libgcc/Makefile index f5bf4bb18c52..caecc3b82601 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 #----------------------------------------------------------------------- #