summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/cc/cc_drv/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/gnu/usr.bin/cc/cc_drv/Makefile b/gnu/usr.bin/cc/cc_drv/Makefile
index c486443..328944b 100644
--- a/gnu/usr.bin/cc/cc_drv/Makefile
+++ b/gnu/usr.bin/cc/cc_drv/Makefile
@@ -5,6 +5,9 @@
.PATH: ../cc_tools ${GCCDIR}
SRCS= multilib.h choose-temp.c obstack.c prefix.c pexecute.c version.c
+.if ${OSVERSION} < 400004
+SRCS+= mkstemp.c
+.endif
CFLAGS+= -DPREFIX=\"/usr\"
CFLAGS+= -DIN_GCC
OpenPOWER on IntegriCloud