aboutsummaryrefslogtreecommitdiff
path: root/gnu/usr.bin/gperf
diff options
context:
space:
mode:
authorPeter Wemm <peter@FreeBSD.org>2002-04-07 02:40:55 +0000
committerPeter Wemm <peter@FreeBSD.org>2002-04-07 02:40:55 +0000
commitfffa0325f75650444476a9091bc45d5da1b1a104 (patch)
tree9999cd555f636ae2e64770b82040d228216a5e17 /gnu/usr.bin/gperf
parentae17860040ea0538291e276edd13c51502091d55 (diff)
downloadsrc-fffa0325f75650444476a9091bc45d5da1b1a104.tar.gz
src-fffa0325f75650444476a9091bc45d5da1b1a104.zip
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.
Notes
Notes: svn path=/head/; revision=94013
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 1d9ccd814cfd..158d85d3a9b9 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>