Source-Changes-HG archive

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

[src/trunk]: src/tools always build gmake if HAVE_GCC.



details:   https://anonhg.NetBSD.org/src/rev/07548d4a89fe
branches:  trunk
changeset: 766341:07548d4a89fe
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 02:15:41 2011 +0000

description:
always build gmake if HAVE_GCC.
build gmp, mpfr and then mpc if HAVE_GCC >= 45.

diffstat:

 tools/Makefile |  9 ++++++---
 1 files changed, 6 insertions(+), 3 deletions(-)

diffs (22 lines):

diff -r dda7a7a7d923 -r 07548d4a89fe tools/Makefile
--- a/tools/Makefile    Tue Jun 21 01:53:18 2011 +0000
+++ b/tools/Makefile    Tue Jun 21 02:15:41 2011 +0000
@@ -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
+.if ${TOOLCHAIN_MISSING} == "no"
+.if ${HAVE_GCC} >= 45
+TOOLCHAIN_BITS+= gmp .WAIT
+TOOLCHAIN_BITS+= mpfr .WAIT
+TOOLCHAIN_BITS+= mpc .WAIT
 .endif
-.if ${TOOLCHAIN_MISSING} == "no"
 TOOLCHAIN_BITS+= binutils .WAIT
 TOOLCHAIN_BITS+= gcc
 .  if ${MKCROSSGDB:Uno} != "no"



Home | Main Index | Thread Index | Old Index