summaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authormrg <mrg@NetBSD.org>2011-06-20 06:52:36 +0000
committermrg <mrg@NetBSD.org>2011-06-20 06:52:36 +0000
commite249342c1d89d2c260f5d6813a54d6441c7c12db (patch)
tree947439b620833dd8a51e137ffef996437a68d230 /Makefile
parent30c573dbb13cabe088ba552fc2038948b7abc93b (diff)
remove all the code that supported HAVE_GCC=3. mostly from chuq.
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile10
1 files changed, 4 insertions, 6 deletions
diff --git a/Makefile b/Makefile
index 1d83bad4636..5cfb56c47b2 100644
--- a/Makefile
+++ b/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.283 2011/06/15 09:45:58 mrg Exp $
+# $NetBSD: Makefile,v 1.284 2011/06/20 06:52:36 mrg Exp $
#
# This is the top-level makefile for building NetBSD. For an outline of
@@ -199,10 +199,10 @@ postinstall-fix-obsolete: .NOTMAIN .PHONY
# Targets (in order!) called by "make build".
#
.if defined(HAVE_GCC)
-.if ${HAVE_GCC} == "3"
-LIBGCC_EXT=3
-.else
+.if ${HAVE_GCC} == "4"
LIBGCC_EXT=4
+.else
+LIBGCC_EXT=45
.endif
.endif
@@ -444,10 +444,8 @@ do-libgcc: .PHONY .MAKE
.if defined(HAVE_GCC)
.if ${MKGCC} != "no"
.if ${USE_COMPILERCRTSTUFF} == "yes"
-.if (${HAVE_GCC} == "3" || ${HAVE_GCC} == "4")
${MAKEDIRTARGET} . do-gnu-lib-crtstuff${LIBGCC_EXT}
.endif
-.endif
${MAKEDIRTARGET} . do-gnu-lib-libgcc${LIBGCC_EXT}
.endif
.endif