add specs to automagically add the mudflap libraries when -fmudflap{,th}

This commit is contained in:
christos 2012-04-27 00:57:44 +00:00
parent fce167a595
commit 15053c8b40
1 changed files with 5 additions and 0 deletions

View File

@ -97,3 +97,8 @@ along with GCC; see the file COPYING3. If not see
#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}} "