Source-Changes-HG archive

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

[src/trunk]: src/lib fix the paths for GCC 4.5. don't build the non-tools gm...



details:   https://anonhg.NetBSD.org/src/rev/6161f54ade76
branches:  trunk
changeset: 766426:6161f54ade76
user:      mrg <mrg%NetBSD.org@localhost>
date:      Wed Jun 22 05:16:37 2011 +0000

description:
fix the paths for GCC 4.5.  don't build the non-tools gmp/mpfr/mpc libs
yet since we don't have them fully working.  XXX.

diffstat:

 lib/Makefile |  21 +++++++++++++++------
 1 files changed, 15 insertions(+), 6 deletions(-)

diffs (44 lines):

diff -r 601b43dbedb8 -r 6161f54ade76 lib/Makefile
--- a/lib/Makefile      Wed Jun 22 05:15:15 2011 +0000
+++ b/lib/Makefile      Wed Jun 22 05:16:37 2011 +0000
@@ -1,4 +1,4 @@
-#      $NetBSD: Makefile,v 1.168 2011/06/21 04:04:13 mrg Exp $
+#      $NetBSD: Makefile,v 1.169 2011/06/22 05:16:37 mrg Exp $
 #      from: @(#)Makefile      5.25.1.1 (Berkeley) 5/7/91
 
 .include <bsd.own.mk>
@@ -6,10 +6,18 @@
 SUBDIR=                csu
 
 .if (${MKGCC} != "no")
-.if (${USE_COMPILERCRTSTUFF} == "yes")
+. if ${HAVE_GCC} == 4
+.  if (${USE_COMPILERCRTSTUFF} == "yes")
 SUBDIR+=       ../gnu/lib/crtstuff4
-.endif
+.  endif
 SUBDIR+=       ../gnu/lib/libgcc4
+. else
+.  if (${USE_COMPILERCRTSTUFF} == "yes")
+# XXX not yet
+#SUBDIR+=      ../external/gpl3/gcc/lib/crtstuff
+.  endif
+#SUBDIR+=      ../external/gpl3/gcc/lib/libgcc
+. endif
 .endif
 
 SUBDIR+=       libc
@@ -70,9 +78,10 @@
 .endif
 
 . if ${HAVE_GCC} >= 45
-SUBDIR+=       ../external/lgpl3/gmp/lib/libgmp
-SUBDIR+=       ../external/lgpl3/mpfr/lib/libmpfr
-SUBDIR+=       ../external/lgpl2/mpc/lib/libmpc
+# XXX not yet
+#SUBDIR+=      ../external/lgpl3/gmp/lib/libgmp
+#SUBDIR+=      ../external/lgpl3/mpfr/lib/libmpfr
+#SUBDIR+=      ../external/lgpl2/mpc/lib/libmpc
 .endif
 
 #



Home | Main Index | Thread Index | Old Index