Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/gnu/lib/crtstuff4 Don't build the CRT stuff here for i386 an...
details: https://anonhg.NetBSD.org/src/rev/a6e1f997ad7c
branches: trunk
changeset: 756911:a6e1f997ad7c
user: joerg <joerg%NetBSD.org@localhost>
date: Sat Aug 07 18:02:40 2010 +0000
description:
Don't build the CRT stuff here for i386 and x86_64.
diffstat:
gnu/lib/crtstuff4/Makefile | 8 ++++++--
1 files changed, 6 insertions(+), 2 deletions(-)
diffs (23 lines):
diff -r 39370e8c677a -r a6e1f997ad7c gnu/lib/crtstuff4/Makefile
--- a/gnu/lib/crtstuff4/Makefile Sat Aug 07 18:01:32 2010 +0000
+++ b/gnu/lib/crtstuff4/Makefile Sat Aug 07 18:02:40 2010 +0000
@@ -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}
Home |
Main Index |
Thread Index |
Old Index