summaryrefslogtreecommitdiff
path: root/gnu/lib/libstdc++
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2003-06-01 02:08:07 +0000
committerthorpej <thorpej@NetBSD.org>2003-06-01 02:08:07 +0000
commita20987422eaab59b9ab1ca82fbe8007c86446470 (patch)
treeaffd869da59bf4a597177b6ad517f89c98c1e459 /gnu/lib/libstdc++
parentd6c02b1523d348eae753398685aca7ef357fc925 (diff)
If MKGCC == no, don't build these libraries (which are bundled with
the compiler).
Diffstat (limited to 'gnu/lib/libstdc++')
-rw-r--r--gnu/lib/libstdc++/Makefile4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile
index 450ebd60939..64c1483cc8d 100644
--- a/gnu/lib/libstdc++/Makefile
+++ b/gnu/lib/libstdc++/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.21 2003/03/01 13:08:56 mrg Exp $
+# $NetBSD: Makefile,v 1.22 2003/06/01 02:08:08 thorpej Exp $
REQUIRETOOLS= yes
NOLINT= # defined
@@ -7,7 +7,7 @@ NOLINT= # defined
LIB= stdc++
-.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk)
+.if exists(${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk) && ${MKGCC} != "no"
.include "${.CURDIR}/arch/${MACHINE_ARCH}/defs.mk"
SHLIB_MAJOR= 4