Source-Changes-HG archive

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

[src/trunk]: src/gnu/lib/libstdc++-v3 actually build libstdc++-v3 now.



details:   https://anonhg.NetBSD.org/src/rev/253ca2a9eb78
branches:  trunk
changeset: 549996:253ca2a9eb78
user:      mrg <mrg%NetBSD.org@localhost>
date:      Sun Jul 27 14:38:57 2003 +0000

description:
actually build libstdc++-v3 now.

XXX NOPROFILE has been set as for some very very very strange reason i
don't understand yet this is causing the compiler to barf...

diffstat:

 gnu/lib/libstdc++-v3/Makefile |  17 ++++++++++++-----
 1 files changed, 12 insertions(+), 5 deletions(-)

diffs (45 lines):

diff -r 275c1f31cbb7 -r 253ca2a9eb78 gnu/lib/libstdc++-v3/Makefile
--- a/gnu/lib/libstdc++-v3/Makefile     Sun Jul 27 14:34:43 2003 +0000
+++ b/gnu/lib/libstdc++-v3/Makefile     Sun Jul 27 14:38:57 2003 +0000
@@ -1,7 +1,8 @@
-#      $NetBSD: Makefile,v 1.2 2003/07/26 14:55:14 mrg Exp $
+#      $NetBSD: Makefile,v 1.3 2003/07/27 14:38:57 mrg Exp $
 
 REQUIRETOOLS=  yes
 NOLINT=                # defined
+NOPROFILE=     # XXX ???
 
 .include <bsd.own.mk>
 
@@ -20,9 +21,11 @@
 
 .include "${.CURDIR}/../libsupc++/Makefile.common"
 
-SRCS=          ${LIBMATHSRCS} ${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS} xmalloc.c
+SRCS=          ${LIBMATHSRCS} ${LIBSUPCXXSRCS} ${LIBSTDCXXSRCS} xmalloc.c xexit.c
 # affects profiling; can't switch it off just for profiling easily.
 #CXXFLAGS+=    ${G_SECTION_FLAGS}
+#CXXFLAGS+=    -ffunction-sections -fdata-sections 
+CXXFLAGS+=     -fno-implicit-templates -fdiagnostics-show-location=once
 
 CONF=          ${DIST}/libstdc++-v3/config
 CLEANFILES+=    basic_file.cc c++locale.cc
@@ -31,11 +34,15 @@
 c++locale.cc: ${CONF}/locale/generic/c_locale.cc
        cp $> ${.TARGET}
 
+GLIBCPP_INCLUDE_DIR=   ${DESTDIR}/usr/include/g++
+
 COPTS.concept-inst.cc= -D_GLIBCPP_CONCEPT_CHECKS -fimplicit-templates
-COPTS.strstream.cc=    -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
+CPPFLAGS.strstream.cc= -I$(GLIBCPP_INCLUDE_DIR)/backward -Wno-deprecated
 
-# ARGH!
-#.include <bsd.lib.mk>
+# XXX
+MKDEPFLAGS+=   -I$(GLIBCPP_INCLUDE_DIR)/backward
+
+.include <bsd.lib.mk>
 .include <bsd.subdir.mk>
 .include <bsd.info.mk>
 



Home | Main Index | Thread Index | Old Index