Module Name:    src
Committed By:   joerg
Date:           Sat Aug  7 18:02:40 UTC 2010

Modified Files:
        src/gnu/lib/crtstuff4: Makefile

Log Message:
Don't build the CRT stuff here for i386 and x86_64.


To generate a diff of this commit:
cvs rdiff -u -r1.5 -r1.6 src/gnu/lib/crtstuff4/Makefile

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

Modified files:

Index: src/gnu/lib/crtstuff4/Makefile
diff -u src/gnu/lib/crtstuff4/Makefile:1.5 src/gnu/lib/crtstuff4/Makefile:1.6
--- src/gnu/lib/crtstuff4/Makefile:1.5	Tue Jul  6 05:59:51 2010
+++ src/gnu/lib/crtstuff4/Makefile	Sat Aug  7 18:02:40 2010
@@ -1,13 +1,17 @@
-#	$NetBSD: Makefile,v 1.5 2010/07/06 05:59:51 mrg Exp $
+#	$NetBSD: Makefile,v 1.6 2010/08/07 18:02:40 joerg Exp $
 
 REQUIRETOOLS=	yes
 NOLINT=		# defined
 
 .include <bsd.own.mk>
 
+.if ${MACHINE_ARCH} == "i386" || ${MACHINE_ARCH} == "x86_64"
+MODERN_LIB_CSU=yes
+.endif
+
 # If using an external toolchain, we expect crtbegin/crtend to be
 # supplied by that toolchain's run-time support.
-.if !defined(EXTERNAL_TOOLCHAIN) && ${MKGCC} != "no"
+.if !defined(MODERN_LIB_CSU) && !defined(EXTERNAL_TOOLCHAIN) && ${MKGCC} != "no"
 
 DIST=		${NETBSDSRCDIR}/gnu/dist/gcc4
 GNUHOSTDIST=	${DIST}

Reply via email to