diff options
| author | joerg <joerg@NetBSD.org> | 2010-08-07 18:02:40 +0000 |
|---|---|---|
| committer | joerg <joerg@NetBSD.org> | 2010-08-07 18:02:40 +0000 |
| commit | 5511fa25aa46dca5f47959343545e495d0d9cd23 (patch) | |
| tree | 66e80da2e85f6965ced6ba06cef8fa7231f7d48a /gnu | |
| parent | 01bc9d50122e3842a80213c83e706f3d4fb0f873 (diff) | |
Don't build the CRT stuff here for i386 and x86_64.
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/lib/crtstuff4/Makefile | 8 |
1 files changed, 6 insertions, 2 deletions
diff --git a/gnu/lib/crtstuff4/Makefile b/gnu/lib/crtstuff4/Makefile index 852eb8f59f3..63ac723337c 100644 --- a/gnu/lib/crtstuff4/Makefile +++ b/gnu/lib/crtstuff4/Makefile @@ -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} |
