Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/external/gpl3/gcc/dist/gcc/config add specs to automagically...
details: https://anonhg.NetBSD.org/src/rev/1c616bcfc41f
branches: trunk
changeset: 779034:1c616bcfc41f
user: christos <christos%NetBSD.org@localhost>
date: Fri Apr 27 00:57:44 2012 +0000
description:
add specs to automagically add the mudflap libraries when -fmudflap{,th}
diffstat:
external/gpl3/gcc/dist/gcc/config/netbsd-elf.h | 5 +++++
1 files changed, 5 insertions(+), 0 deletions(-)
diffs (12 lines):
diff -r 43aab0a3f52d -r 1c616bcfc41f external/gpl3/gcc/dist/gcc/config/netbsd-elf.h
--- a/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h Fri Apr 27 00:35:43 2012 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/netbsd-elf.h Fri Apr 27 00:57:44 2012 +0000
@@ -97,3 +97,8 @@
#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}} "
Home |
Main Index |
Thread Index |
Old Index