Module Name: src
Committed By: christos
Date: Fri Apr 27 00:57:45 UTC 2012
Modified Files:
src/external/gpl3/gcc/dist/gcc/config: netbsd-elf.h
Log Message:
add specs to automagically add the mudflap libraries when -fmudflap{,th}
To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
diff -u src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.2 src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.3
--- src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h:1.2 Mon Jun 20 22:41:36 2011
+++ src/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h Thu Apr 26 20:57:44 2012
@@ -97,3 +97,8 @@ along with GCC; see the file COPYING3.
#ifdef HAVE_LD_AS_NEEDED
#define USE_LD_AS_NEEDED 1
#endif
+
+#define MFLIB_SPEC " %{fmudflap: -export-dynamic -lmudflap \
+ %{static:%(link_gcc_c_sequence) -lmudflap}} \
+ %{fmudflapth: -export-dynamic -lmudflapth -lpthread \
+ %{static:%(link_gcc_c_sequence) -lmudflapth}} "