summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper6
1 files changed, 3 insertions, 3 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index 6898af2bc0c..03d180f9bfb 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,4 +1,4 @@
-# $OpenBSD: Makefile.bsd-wrapper,v 1.19 1996/10/18 11:52:26 deraadt Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.20 1996/11/24 00:43:23 niklas Exp $
MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
MLINKS+= gcc.1 cc.1
@@ -6,7 +6,7 @@ MLINKS+= cccp.1 cpp.1
MLINKS+= g++.1 c++.1
GPP_INC_DIR= /usr/include/g++
-GNUCFLAGS= CFLAGS="${CFLAGS} -DOPENBSD_NATIVE"
+GNUCFLAGS= CFLAGS="${CFLAGS} ${COPTS} -DOPENBSD_NATIVE"
CLEANFILES= .gdbinit cp/.gdbinit *.info* bi-parser.c bi-parser.h \
c-parse.c c-parse.h c-parse.y cexp.c cp/parse.c cp/parse.h \
objc-parse.c objc-parse.y f/.gdbinit f/*.info*
@@ -22,7 +22,7 @@ M_ARCH= ${MACHINE_ARCH}
GCCARCH= ${M_ARCH}-unknown-openbsd`uname -r`
all: config.status
- ${MAKE} ${GNUCFLAGS} BISON=yacc LDFLAGS=${LDSTATIC} \
+ ${MAKE} ${GNUCFLAGS} BISON=yacc CC=${CC} LDFLAGS=${LDSTATIC} \
build_infodir=. all doc
.FORCE: .IGNORE