Module Name:    src
Committed By:   mrg
Date:           Tue Jun 21 04:52:50 UTC 2011

Modified Files:
        src/external/gpl3: Makefile
        src/gnu/usr.bin: Makefile

Log Message:
prepare to build native gcc 4.5, don't build native gcc 4.1, for HAVE_GCC=45


To generate a diff of this commit:
cvs rdiff -u -r1.2 -r1.3 src/external/gpl3/Makefile
cvs rdiff -u -r1.134 -r1.135 src/gnu/usr.bin/Makefile

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

Modified files:

Index: src/external/gpl3/Makefile
diff -u src/external/gpl3/Makefile:1.2 src/external/gpl3/Makefile:1.3
--- src/external/gpl3/Makefile:1.2	Tue Sep  8 07:08:02 2009
+++ src/external/gpl3/Makefile	Tue Jun 21 04:52:49 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.2 2009/09/08 07:08:02 skrll Exp $
+#	$NetBSD: Makefile,v 1.3 2011/06/21 04:52:49 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -6,4 +6,10 @@
 SUBDIR+=	binutils
 .endif
 
+.if ${HAVE_GCC} == 45
+.if ${MKGCCCMDS} != "no"
+#SUBDIR+=	gcc
+.endif
+.endif
+
 .include <bsd.subdir.mk>

Index: src/gnu/usr.bin/Makefile
diff -u src/gnu/usr.bin/Makefile:1.134 src/gnu/usr.bin/Makefile:1.135
--- src/gnu/usr.bin/Makefile:1.134	Thu Apr 21 14:26:34 2011
+++ src/gnu/usr.bin/Makefile	Tue Jun 21 04:52:50 2011
@@ -1,4 +1,4 @@
-#	$NetBSD: Makefile,v 1.134 2011/04/21 14:26:34 joerg Exp $
+#	$NetBSD: Makefile,v 1.135 2011/06/21 04:52:50 mrg Exp $
 
 .include <bsd.own.mk>
 
@@ -23,8 +23,10 @@
 .endif
 .endif
 
+.if ${HAVE_GCC} == 4
 .if ${MKGCCCMDS} != "no"
 SUBDIR+=	gcc4
 .endif
+.endif
 
 .include <bsd.subdir.mk>

Reply via email to