Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src prepare to build native gcc 4.5, don't build native gcc 4.1, ...



details:   https://anonhg.NetBSD.org/src/rev/203fb6cb7d45
branches:  trunk
changeset: 766357:203fb6cb7d45
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 04:52:49 2011 +0000

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

diffstat:

 external/gpl3/Makefile |  8 +++++++-
 gnu/usr.bin/Makefile   |  4 +++-
 2 files changed, 10 insertions(+), 2 deletions(-)

diffs (40 lines):

diff -r 74cd8300b10f -r 203fb6cb7d45 external/gpl3/Makefile
--- a/external/gpl3/Makefile    Tue Jun 21 04:23:56 2011 +0000
+++ b/external/gpl3/Makefile    Tue Jun 21 04:52:49 2011 +0000
@@ -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>
diff -r 74cd8300b10f -r 203fb6cb7d45 gnu/usr.bin/Makefile
--- a/gnu/usr.bin/Makefile      Tue Jun 21 04:23:56 2011 +0000
+++ b/gnu/usr.bin/Makefile      Tue Jun 21 04:52:49 2011 +0000
@@ -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>



Home | Main Index | Thread Index | Old Index