Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib Don't build compiler-related libraries if using GCC ...



details:   https://anonhg.NetBSD.org/src/rev/84e80c7ef722
branches:  trunk
changeset: 485943:84e80c7ef722
user:      thorpej <thorpej%NetBSD.org@localhost>
date:      Tue May 09 06:23:40 2000 +0000

description:
Don't build compiler-related libraries if using GCC 2.9.

diffstat:

 gnu/lib/Makefile |  10 ++++++++--
 1 files changed, 8 insertions(+), 2 deletions(-)

diffs (17 lines):

diff -r f4ff1a28e27b -r 84e80c7ef722 gnu/lib/Makefile
--- a/gnu/lib/Makefile  Tue May 09 05:52:54 2000 +0000
+++ b/gnu/lib/Makefile  Tue May 09 06:23:40 2000 +0000
@@ -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 $
+
+HAVE_GCC29!=   ${CXX} --version | egrep "^(2\.9|egcs)" ; echo
 
-SUBDIR+= libbfd libg2c libgcc libmalloc libobjc libstdc++
+SUBDIR+= libbfd libmalloc
+
+.if empty(HAVE_GCC29) || make (obj) || make(cleandir) || make(clean)
+SUBDIR+= libg2c libgcc libobjc libstdc++
+.endif
 
 .include <bsd.subdir.mk>



Home | Main Index | Thread Index | Old Index