summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin/cc/Makefile.inc
diff options
context:
space:
mode:
Diffstat (limited to 'gnu/usr.bin/cc/Makefile.inc')
-rw-r--r--gnu/usr.bin/cc/Makefile.inc10
1 files changed, 10 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/Makefile.inc b/gnu/usr.bin/cc/Makefile.inc
index 39ae7e7..d3a8b22 100644
--- a/gnu/usr.bin/cc/Makefile.inc
+++ b/gnu/usr.bin/cc/Makefile.inc
@@ -10,3 +10,13 @@ CFLAGS+= -DDEFAULT_TARGET_MACHINE=\"i386--freebsd\"
CFLAGS+= -DMD_EXEC_PREFIX=\"/usr/libexec/\"
CFLAGS+= -DSTANDARD_STARTFILE_PREFIX=\"/usr/lib\"
CFLAGS+= -DGCC_NAME=\"cc\"
+
+.if exists(${.CURDIR}/../cc_int/obj)
+LIBDESTDIR= ${.CURDIR}/../cc_int/obj
+.else
+LIBDESTDIR= ${.CURDIR}/../cc_int
+.endif
+
+# XXX LDDESTDIR isn't a directory and there is no standard name for the dir
+LDDESTDIR= -L${LIBDESTDIR}
+LIBCC_INT= ${LIBDESTDIR}/libcc_int.a
OpenPOWER on IntegriCloud