Module Name:    src
Committed By:   matt
Date:           Sun Jul 31 03:43:33 UTC 2011

Modified Files:
        src/external/gpl3/gcc/dist/gcc/config: freebsd-spec.h

Log Message:
Don't define LINK_EH_SPEC if it's already defined (from netbsd*.h)


To generate a diff of this commit:
cvs rdiff -u -r1.1.1.1 -r1.2 \
    src/external/gpl3/gcc/dist/gcc/config/freebsd-spec.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/freebsd-spec.h
diff -u src/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h:1.1.1.1 src/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h:1.2
--- src/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h:1.1.1.1	Tue Jun 21 01:21:56 2011
+++ src/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h	Sun Jul 31 03:43:33 2011
@@ -153,7 +153,7 @@
 #define FBSD_DYNAMIC_LINKER "/libexec/ld-elf.so.1"
 #endif
 
-#if defined(HAVE_LD_EH_FRAME_HDR)
+#if defined(HAVE_LD_EH_FRAME_HDR) && !defined(LINK_EH_SPEC)
 #define LINK_EH_SPEC "%{!static:--eh-frame-hdr} "
 #endif
 

Reply via email to