summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/c++
diff options
context:
space:
mode:
authorwollman <wollman@FreeBSD.org>1994-09-18 22:35:55 +0000
committerwollman <wollman@FreeBSD.org>1994-09-18 22:35:55 +0000
commitce10b298dff1eea96989b1d8fc9ac8b22535798f (patch)
tree1a09b36ed3da81af997542ab383a12a4c170308f /gnu/usr.bin/cc/c++
parent208c1a5a6da78b06a88ffe59cafe43e426e28d03 (diff)
downloadFreeBSD-src-ce10b298dff1eea96989b1d8fc9ac8b22535798f.zip
FreeBSD-src-ce10b298dff1eea96989b1d8fc9ac8b22535798f.tar.gz
Make GCC's back end be shared among all languages. cc, c++, and cpp now
no longer link against the whole library, since they don't require much from it, but just compile the few small modules they actually need static. This should save a measurable amount of space; compare: -r-xr-xr-x 1 bin bin 155648 Sep 18 18:00 cc1* -r-xr-xr-x 1 root bin 1048576 Sep 18 17:33 cc1.noshae* Of course, the library takes up a bit of space, but when you add in the savings from the C++ compiler, you more than make up the difference: -r--r--r-- 1 bin bin 1157344 Sep 18 18:27 /usr/lib/libcc_int.so.26.0 -r-xr-xr-x 1 bin bin 491520 Sep 18 18:27 /usr/libexec/cc1plus*
Diffstat (limited to 'gnu/usr.bin/cc/c++')
-rw-r--r--gnu/usr.bin/cc/c++/Makefile4
1 files changed, 1 insertions, 3 deletions
diff --git a/gnu/usr.bin/cc/c++/Makefile b/gnu/usr.bin/cc/c++/Makefile
index 6b400b6..3c9351e 100644
--- a/gnu/usr.bin/cc/c++/Makefile
+++ b/gnu/usr.bin/cc/c++/Makefile
@@ -1,12 +1,10 @@
#
-# $FreeBSD$
+# $Id$
#
PROG = c++
SRCS = g++.c
BINDIR= /usr/bin
NOMAN= 1
-DPADD+= ${LIBCC_INT}
-LDADD+= -lcc_int
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud