Source-Changes-HG archive

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

[src/trunk]: src/lib add HAVE_GCC=45 support.



details:   https://anonhg.NetBSD.org/src/rev/ee971daba818
branches:  trunk
changeset: 766349:ee971daba818
user:      mrg <mrg%NetBSD.org@localhost>
date:      Tue Jun 21 04:04:13 2011 +0000

description:
add HAVE_GCC=45 support.

diffstat:

 lib/Makefile |  12 +++++++++++-
 1 files changed, 11 insertions(+), 1 deletions(-)

diffs (36 lines):

diff -r c21367283c06 -r ee971daba818 lib/Makefile
--- a/lib/Makefile      Tue Jun 21 04:03:33 2011 +0000
+++ b/lib/Makefile      Tue Jun 21 04:04:13 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.167 2011/05/09 08:51:18 manu Exp $
+#      $NetBSD: Makefile,v 1.168 2011/06/21 04:04:13 mrg Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -64,7 +64,15 @@
 SUBDIR+=       ../gnu/lib/libmalloc
 
 .if (${MKGCC} != "no")
+. if ${HAVE_GCC} == 4
 SUBDIR+=       ../gnu/lib/libobjc4
+. endif
+.endif
+
+. if ${HAVE_GCC} >= 45
+SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
+SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
+SUBDIR+=       ../external/lgpl2/mpc/lib/libmpc
 .endif
 
 #
@@ -107,8 +115,10 @@
 .endif
 
 .if (${MKGCC} != "no" && ${MKCXX} != "no")
+. if ${HAVE_GCC} == 4
 SUBDIR+=       ../gnu/lib/libstdc++-v3_4       # depends on libm
 SUBDIR+=       ../gnu/lib/libsupc++4
+. endif
 .endif
 
 #==================== 2nd library dependency barrier ====================



Home | Main Index | Thread Index | Old Index