diff options
| author | Peter Wemm <peter@FreeBSD.org> | 1998-10-11 04:56:03 +0000 |
|---|---|---|
| committer | Peter Wemm <peter@FreeBSD.org> | 1998-10-11 04:56:03 +0000 |
| commit | 3c343fc0675eac177c5290f712019c5cbd5b8a76 (patch) | |
| tree | 725608cf6a7e411b66a295ac6c534c6299d5f6ee /gnu | |
| parent | 2116e6ab2f7e4158b484dea3b2d6b3970583d6e8 (diff) | |
Notes
Diffstat (limited to 'gnu')
| -rw-r--r-- | gnu/lib/libg++/Makefile | 7 | ||||
| -rw-r--r-- | gnu/lib/libstdc++/Makefile | 5 |
2 files changed, 10 insertions, 2 deletions
diff --git a/gnu/lib/libg++/Makefile b/gnu/lib/libg++/Makefile index a9199fd715ea..712789253d8b 100644 --- a/gnu/lib/libg++/Makefile +++ b/gnu/lib/libg++/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.19 1997/05/06 00:49:28 jdp Exp $ +# $Id: Makefile,v 1.20 1997/05/23 08:33:55 asami Exp $ # GPPDIR= ${.CURDIR}/../../../contrib/libg++ @@ -15,6 +15,11 @@ SHLIB_MINOR= 0 CFLAGS+= -I${GPPDIR}/include -I${DESTDIR}/usr/include/g++ CXXFLAGS+= -I${GPPDIR}/include -I${GPPDIR}/libio -I${GPPDIR}/libstdc++ +# Strictly speaking, libg++ should depend on libstdc++, but 1) It doesn't +# work (ld freaks out), and 2) the c++ driver adds it explicitly (which works). +LDADD+= -lm +DPADD+= ${LIBM} + # C source SRCS= bitand.c bitany.c bitblt.c bitclear.c bitcopy.c bitcount.c \ bitinvert.c bitlcomp.c bitset1.c bitxor.c timer.c diff --git a/gnu/lib/libstdc++/Makefile b/gnu/lib/libstdc++/Makefile index 661356541119..891dfa3d7e3d 100644 --- a/gnu/lib/libstdc++/Makefile +++ b/gnu/lib/libstdc++/Makefile @@ -1,5 +1,5 @@ # -# $Id: Makefile,v 1.8 1998/02/25 01:23:28 bde Exp $ +# $Id: Makefile,v 1.9 1998/03/20 15:10:59 bde Exp $ # GPPDIR= ${.CURDIR}/../../../contrib/libg++ @@ -15,6 +15,9 @@ CFLAGS+= -I${GPPDIR}/include -I${DESTDIR}/usr/include/g++ -I. CXXFLAGS+= -I${GPPDIR}/include -I${GPPDIR}/libio -I${GPPDIR}/libstdc++ CXXFLAGS+= -fno-implicit-templates +LDADD+= -lm +DPADD+= ${LIBM} + DIR= ${GPPDIR}/libstdc++ HDRS= cassert cctype cerrno cfloat ciso646 climits clocale cmath complex \ |
