summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/gperf
diff options
context:
space:
mode:
authorpeter <peter@FreeBSD.org>2002-04-07 02:40:55 +0000
committerpeter <peter@FreeBSD.org>2002-04-07 02:40:55 +0000
commit01494340e601da74fdb6beb230e95b0f1ab46358 (patch)
tree9999cd555f636ae2e64770b82040d228216a5e17 /gnu/usr.bin/gperf
parentb5ca094f22d0781991b739b78d213f07d21ba994 (diff)
downloadFreeBSD-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/Makefile3
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>
OpenPOWER on IntegriCloud