summaryrefslogtreecommitdiff
path: root/gnu
diff options
context:
space:
mode:
authoretheisen <etheisen@cvs.openbsd.org>1996-02-04 10:52:34 +0000
committeretheisen <etheisen@cvs.openbsd.org>1996-02-04 10:52:34 +0000
commitea5326b27f374f73ce7b0a30a54c22965ba920ad (patch)
tree2381fb25873a9787fe0d7112ed646615321047d2 /gnu
parent34169565d168b0c27822594b1b0834c9167a7a06 (diff)
Pass CFLAGS onto GNU build.
Set g++ include to /usr/include/g++.
Diffstat (limited to 'gnu')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper15
1 files changed, 8 insertions, 7 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index cb3c832923e..4972e9bbb8c 100644
--- a/gnu/usr.bin/gcc/Makefile.bsd-wrapper
+++ b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
@@ -1,24 +1,25 @@
-# $Id: Makefile.bsd-wrapper,v 1.4 1996/02/02 00:22:56 niklas Exp $
+# $Id: Makefile.bsd-wrapper,v 1.5 1996/02/04 10:52:33 etheisen Exp $
-MAN= cccp.1 gcc.1 cp/g++.1
-MLINKS= gcc.1 cc.1
+MAN= cccp.1 gcc.1 cp/g++.1
+MLINKS= gcc.1 cc.1
+GNUCFLAGS= CFLAGS="${CFLAGS}"
all: config.status
- ${MAKE} BISON=yacc LDFLAGS=${LDSTATIC}
+ ${MAKE} ${GNUCFLAGS} BISON=yacc LDFLAGS=${LDSTATIC}
.FORCE: .IGNORE
config: .FORCE
-rm -f config.cache
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr
+ --prefix=/usr --gxx-include=/usr/include/g++
config.status:
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
- --prefix=/usr
+ --prefix=/usr --gxx-include=/usr/include/g++
install: maninstall
- ${MAKE} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
+ ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr infodir=${DESTDIR}/usr/share/info \
tooldir=/tmp assertdir=/tmp INSTALL_MAN= NO_TARGET_GCC=true \
bindir=${DESTDIR}/usr/bin install
ln -f ${DESTDIR}/usr/bin/gcc ${DESTDIR}/usr/bin/cc