* config/netbsd-elf.h (USE_LD_AS_NEEDED): Define.

From-SVN: r128049
This commit is contained in:
Krister Walfridsson 2007-09-03 18:14:04 +02:00 committed by Krister Walfridsson
parent c722c7daaf
commit 4392a547f5
2 changed files with 9 additions and 0 deletions

View File

@ -1,3 +1,7 @@
2007-09-03 Krister Walfridsson <cato@df.lth.se>
* config/netbsd-elf.h (USE_LD_AS_NEEDED): Define.
2007-09-03 Richard Sandiford <richard@codesourcery.com>
PR middle-end/33290

View File

@ -91,3 +91,8 @@ along with GCC; see the file COPYING3. If not see
%{rdynamic:-export-dynamic} \
%{!dynamic-linker:-dynamic-linker /usr/libexec/ld.elf_so}} \
%{static:-static}}"
/* Use --as-needed -lgcc_s for eh support. */
#ifdef HAVE_LD_AS_NEEDED
#define USE_LD_AS_NEEDED 1
#endif