Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/libexec/ld.elf_so Explicitly disable linking against libgcc ...



details:   https://anonhg.NetBSD.org/src/rev/dab32fa3d4a0
branches:  trunk
changeset: 765183:dab32fa3d4a0
user:      joerg <joerg%NetBSD.org@localhost>
date:      Fri May 20 22:21:32 2011 +0000

description:
Explicitly disable linking against libgcc and friends.

diffstat:

 libexec/ld.elf_so/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 316d566fbe0a -r dab32fa3d4a0 libexec/ld.elf_so/Makefile
--- a/libexec/ld.elf_so/Makefile        Fri May 20 22:13:22 2011 +0000
+++ b/libexec/ld.elf_so/Makefile        Fri May 20 22:21:32 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.103 2011/03/09 23:10:07 joerg Exp $
+#      $NetBSD: Makefile,v 1.104 2011/05/20 22:21:32 joerg Exp $
 #
 # NOTE: when changing ld.so, ensure that ldd still compiles.
 #
@@ -38,7 +38,7 @@
      (${MACHINE_ARCH} == "vax")) &&                                    \
     ${MKPIC} != "no"
 
-LDFLAGS+=      -shared -symbolic -nostartfiles
+LDFLAGS+=      -shared -symbolic -nostartfiles -nodefaultlibs
 LDFLAGS+=      -Wl,-static
 LDFLAGS+=      -Wl,--warn-shared-textrel
 



Home | Main Index | Thread Index | Old Index