OSDN Git Service

2008-04-15 Doug Kwan <dougkwan@google.com>
[pf3gnuchains/gcc-fork.git] / gcc / config / netbsd-elf.h
index aae9e25..37f504b 100644 (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