summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc
diff options
context:
space:
mode:
authordg <dg@FreeBSD.org>1994-08-29 17:38:28 +0000
committerdg <dg@FreeBSD.org>1994-08-29 17:38:28 +0000
commit1095f127fc1c147ccdc435a3b6e8bb0107d84620 (patch)
tree2993832eddea8b58f52615e63083df1dc4c50b63 /gnu/usr.bin/cc
parent8aa2891ca7b07ce7d3dc992cf11d700ec6711d73 (diff)
downloadFreeBSD-src-1095f127fc1c147ccdc435a3b6e8bb0107d84620.zip
FreeBSD-src-1095f127fc1c147ccdc435a3b6e8bb0107d84620.tar.gz
Use gnumalloc to help reduce memory consumption.
Diffstat (limited to 'gnu/usr.bin/cc')
-rw-r--r--gnu/usr.bin/cc/cc1/Makefile4
-rw-r--r--gnu/usr.bin/cc/cc1plus/Makefile4
2 files changed, 4 insertions, 4 deletions
diff --git a/gnu/usr.bin/cc/cc1/Makefile b/gnu/usr.bin/cc/cc1/Makefile
index 745dc27..7cbe60b 100644
--- a/gnu/usr.bin/cc/cc1/Makefile
+++ b/gnu/usr.bin/cc/cc1/Makefile
@@ -6,7 +6,7 @@ PROG = cc1
SRCS = c-aux-info.c c-convert.c c-decl.c c-iterate.c c-lang.c c-lex.c c-parse.c c-pragma.c c-typeck.c
BINDIR= /usr/libexec
NOMAN= 1
-DPADD+= ${LIBCC_INT}
-LDADD+= -lcc_int
+DPADD+= ${LIBCC_INT} ${LIBGNUMALLOC}
+LDADD+= -lcc_int -lgnumalloc
.include <bsd.prog.mk>
diff --git a/gnu/usr.bin/cc/cc1plus/Makefile b/gnu/usr.bin/cc/cc1plus/Makefile
index 5e43626..d41934b 100644
--- a/gnu/usr.bin/cc/cc1plus/Makefile
+++ b/gnu/usr.bin/cc/cc1plus/Makefile
@@ -6,7 +6,7 @@ PROG = cc1plus
SRCS = call.c class.c cvt.c decl.c decl2.c edsel.c errfn.c error.c except.c expr.c gc.c init.c lex.c method.c parse.c pt.c ptree.c search.c sig.c spew.c tree.c typeck.c typeck2.c xref.c
BINDIR= /usr/libexec
NOMAN= 1
-DPADD+= ${LIBCC_INT}
-LDADD+= -lcc_int
+DPADD+= ${LIBCC_INT} ${LIBGNUMALLOC}
+LDADD+= -lcc_int -lgnumalloc
.include <bsd.prog.mk>
OpenPOWER on IntegriCloud