Author: kan
Date: Wed Jan 27 20:20:35 2016
New Revision: 294935
URL: https://svnweb.freebsd.org/changeset/base/294935

Log:
  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.

Modified:
  head/gnu/lib/libgcc/Makefile

Modified: head/gnu/lib/libgcc/Makefile
==============================================================================
--- head/gnu/lib/libgcc/Makefile        Wed Jan 27 19:55:02 2016        
(r294934)
+++ head/gnu/lib/libgcc/Makefile        Wed Jan 27 20:20:35 2016        
(r294935)
@@ -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
 
 #-----------------------------------------------------------------------
 #
_______________________________________________
svn-src-head@freebsd.org mailing list
https://lists.freebsd.org/mailman/listinfo/svn-src-head
To unsubscribe, send any mail to "svn-src-head-unsubscr...@freebsd.org"

Reply via email to