summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/Makefile.inc
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/Makefile.inc
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/Makefile.inc')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc4
1 files changed, 2 insertions, 2 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index d3a8b22..f18c278 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -1,5 +1,5 @@
#
-# $FreeBSD$
+# $Id$
#
CFLAGS+= -I${.CURDIR} -I${.CURDIR}/../include
@@ -19,4 +19,4 @@ LIBDESTDIR= ${.CURDIR}/../cc_int
# XXX LDDESTDIR isn't a directory and there is no standard name for the dir
LDDESTDIR= -L${LIBDESTDIR}
-LIBCC_INT= ${LIBDESTDIR}/libcc_int.a
+LIBCC_INT= ${LIBDESTDIR}/libcc_int.so.26.0
OpenPOWER on IntegriCloud