diff options
author | peter <peter@FreeBSD.org> | 2002-04-07 02:40:55 +0000 |
---|---|---|
committer | peter <peter@FreeBSD.org> | 2002-04-07 02:40:55 +0000 |
commit | 01494340e601da74fdb6beb230e95b0f1ab46358 (patch) | |
tree | 9999cd555f636ae2e64770b82040d228216a5e17 /gnu/usr.bin/gperf | |
parent | b5ca094f22d0781991b739b78d213f07d21ba994 (diff) | |
download | FreeBSD-src-01494340e601da74fdb6beb230e95b0f1ab46358.zip FreeBSD-src-01494340e601da74fdb6beb230e95b0f1ab46358.tar.gz |
Add -lstdc++ to the link args for these C++ tools so that they can be
compiled with gcc-3.1. Somebody thought it was a good idea to move
the implementation of new and delete from libgcc to libstdc++. This
change doesn't harm the current compiler in the tree.
Diffstat (limited to 'gnu/usr.bin/gperf')
-rw-r--r-- | gnu/usr.bin/gperf/Makefile | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/gperf/Makefile b/gnu/usr.bin/gperf/Makefile index 1d9ccd8..158d85d 100644 --- a/gnu/usr.bin/gperf/Makefile +++ b/gnu/usr.bin/gperf/Makefile @@ -14,4 +14,7 @@ SRCS+= hash.cc getopt.c getopt1.c CXXFLAGS+= -I${GPROFDIR}/lib -I${.CURDIR} +DPADD+= ${LIBSTDCPLUSPLUS} +LDADD+= -lstdc++ + .include <bsd.prog.mk> |