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 Don't define LINK_EH_SPEC ...



details:   https://anonhg.NetBSD.org/src/rev/cf6ce8e8f937
branches:  trunk
changeset: 767797:cf6ce8e8f937
user:      matt <matt%NetBSD.org@localhost>
date:      Sun Jul 31 03:43:33 2011 +0000

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

diffstat:

 external/gpl3/gcc/dist/gcc/config/freebsd-spec.h |  2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diffs (12 lines):

diff -r 1ca84bd732ad -r cf6ce8e8f937 external/gpl3/gcc/dist/gcc/config/freebsd-spec.h
--- a/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h  Sat Jul 30 20:05:46 2011 +0000
+++ b/external/gpl3/gcc/dist/gcc/config/freebsd-spec.h  Sun Jul 31 03:43:33 2011 +0000
@@ -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
 



Home | Main Index | Thread Index | Old Index