Source-Changes-HG archive

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

[src/trunk]: src/lib don't build gmp/mpfr/mpc if we're not building GCC comma...



details:   https://anonhg.NetBSD.org/src/rev/0540705cedea
branches:  trunk
changeset: 355919:0540705cedea
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Aug 22 08:21:36 2017 +0000

description:
don't build gmp/mpfr/mpc if we're not building GCC commands (MKGCCCMDS==no.)

diffstat:

 lib/Makefile |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (18 lines):

diff -r 363ef07cfad0 -r 0540705cedea lib/Makefile
--- a/lib/Makefile      Tue Aug 22 07:09:00 2017 +0000
+++ b/lib/Makefile      Tue Aug 22 08:21:36 2017 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.251 2017/05/21 15:28:41 riastradh Exp $
+#      $NetBSD: Makefile,v 1.252 2017/08/22 08:21:36 mrg Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -86,7 +86,7 @@
 # Should probably move GMP, MPFR and MPC builds into the GCC >= 4.5
 # specific build area, but we get better parallelism this way.
 # We don't build compat versions of these.
-. if !defined(MLIBDIR)
+. if !defined(MLIBDIR) && (${MKGCCCMDS} != "no")
 SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
 SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
 SUBDIR+=       ../external/lgpl3/mpc/lib/libmpc



Home | Main Index | Thread Index | Old Index