Module Name: src
Committed By: mrg
Date: Tue Jun 21 02:15:41 UTC 2011
Modified Files:
src/tools: Makefile
Log Message:
always build gmake if HAVE_GCC.
build gmp, mpfr and then mpc if HAVE_GCC >= 45.
To generate a diff of this commit:
cvs rdiff -u -r1.145 -r1.146 src/tools/Makefile
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
Modified files:
Index: src/tools/Makefile
diff -u src/tools/Makefile:1.145 src/tools/Makefile:1.146
--- src/tools/Makefile:1.145 Fri Apr 15 18:05:45 2011
+++ src/tools/Makefile Tue Jun 21 02:15:41 2011
@@ -1,12 +1,15 @@
-# $NetBSD: Makefile,v 1.145 2011/04/15 18:05:45 elric Exp $
+# $NetBSD: Makefile,v 1.146 2011/06/21 02:15:41 mrg Exp $
.include <bsd.own.mk>
.if defined(HAVE_GCC)
-.if ${HAVE_GCC} == "4"
TOOLCHAIN_BITS= gmake .WAIT
-.endif
.if ${TOOLCHAIN_MISSING} == "no"
+.if ${HAVE_GCC} >= 45
+TOOLCHAIN_BITS+= gmp .WAIT
+TOOLCHAIN_BITS+= mpfr .WAIT
+TOOLCHAIN_BITS+= mpc .WAIT
+.endif
TOOLCHAIN_BITS+= binutils .WAIT
TOOLCHAIN_BITS+= gcc
. if ${MKCROSSGDB:Uno} != "no"