summaryrefslogtreecommitdiff
path: root/gnu/lib
diff options
context:
space:
mode:
authorthorpej <thorpej@NetBSD.org>2000-05-09 06:23:40 +0000
committerthorpej <thorpej@NetBSD.org>2000-05-09 06:23:40 +0000
commit2b09e161ae9feec73f35da11ad36cba222c51ee8 (patch)
treed4928f8ad38faaea4979e469ad9dace28ee2ed71 /gnu/lib
parent14dfd80261687e13489528e6b7a5bb1afb7430db (diff)
Don't build compiler-related libraries if using GCC 2.9.
Diffstat (limited to 'gnu/lib')
-rw-r--r--gnu/lib/Makefile10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/lib/Makefile b/gnu/lib/Makefile
index 2d9558d6183..371e76c9cba 100644
--- a/gnu/lib/Makefile
+++ b/gnu/lib/Makefile
@@ -1,5 +1,11 @@
-# $NetBSD: Makefile,v 1.20 1999/02/09 17:48:13 tv Exp $
+# $NetBSD: Makefile,v 1.21 2000/05/09 06:23:40 thorpej Exp $
-SUBDIR+= libbfd libg2c libgcc libmalloc libobjc libstdc++
+HAVE_GCC29!= ${CXX} --version | egrep "^(2\.9|egcs)" ; echo
+
+SUBDIR+= libbfd libmalloc
+
+.if empty(HAVE_GCC29) || make (obj) || make(cleandir) || make(clean)
+SUBDIR+= libg2c libgcc libobjc libstdc++
+.endif
.include <bsd.subdir.mk>