Module Name:    src
Committed By:   mrg
Date:           Tue Aug 22 08:21:36 UTC 2017

Modified Files:
        src/lib: Makefile

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


To generate a diff of this commit:
cvs rdiff -u -r1.251 -r1.252 src/lib/Makefile

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

Modified files:

Index: src/lib/Makefile
diff -u src/lib/Makefile:1.251 src/lib/Makefile:1.252
--- src/lib/Makefile:1.251	Sun May 21 15:28:41 2017
+++ src/lib/Makefile	Tue Aug 22 08:21:36 2017
@@ -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 @@ SUBDIR+=	../external/gpl3/${EXTERNAL_GCC
 # 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

Reply via email to