Module Name:    src
Committed By:   joerg
Date:           Fri May 20 22:21:32 UTC 2011

Modified Files:
        src/libexec/ld.elf_so: Makefile

Log Message:
Explicitly disable linking against libgcc and friends.


To generate a diff of this commit:
cvs rdiff -u -r1.103 -r1.104 src/libexec/ld.elf_so/Makefile

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: src/libexec/ld.elf_so/Makefile
diff -u src/libexec/ld.elf_so/Makefile:1.103 src/libexec/ld.elf_so/Makefile:1.104
--- src/libexec/ld.elf_so/Makefile:1.103	Wed Mar  9 23:10:07 2011
+++ src/libexec/ld.elf_so/Makefile	Fri May 20 22:21:32 2011
@@ -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
 

Reply via email to