summaryrefslogtreecommitdiff
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorkstailey <kstailey@cvs.openbsd.org>1997-07-30 13:37:08 +0000
committerkstailey <kstailey@cvs.openbsd.org>1997-07-30 13:37:08 +0000
commitb0c56fdbbe7e994399a8be030f4dae0d5786344a (patch)
tree2a1c0c9c51951e6610e68f5fe7cc2e212b18a28a /gnu/usr.bin
parent861f0349252896614161c4d1f2b11dddeb51d2d0 (diff)
respect INSTALL_STRIP=-s on alpha
add GLOBAL_AUTCONF_CACHE (for the fortran bits)
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/gcc/Makefile.bsd-wrapper25
1 files changed, 24 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper
index 575025e9704..f2812af0b12 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.27 1997/07/24 20:24:36 kstailey Exp $
+# $OpenBSD: Makefile.bsd-wrapper,v 1.28 1997/07/30 13:37:07 kstailey Exp $
MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1
MLINKS+= gcc.1 cc.1
@@ -27,15 +27,38 @@ all: config.status
.FORCE: .IGNORE
+.include <bsd.own.mk>
+
+.ifdef GLOBAL_AUTOCONF_CACHE
+config: .FORCE
+ -rm -f config.cache
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
+ --prefix=/usr --local-prefix=/usr \
+ --gxx-include=${GPP_INC_DIR} \
+ --cache-file=${GLOBAL_AUTOCONF_CACHE} \
+ ${GCCARCH}
+config.status: Makefile.in configure c-parse.in
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
+ /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
+ --prefix=/usr --local-prefix=/usr \
+ --gxx-include=${GPP_INC_DIR} \
+ --cache-file=${GLOBAL_AUTOCONF_CACHE} \
+ ${GCCARCH} && touch config.status
+.else
config: .FORCE
-rm -f config.cache
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr \
--gxx-include=${GPP_INC_DIR} ${GCCARCH}
+
config.status: Makefile.in configure c-parse.in
+ INSTALL_PROGRAM="${INSTALL} ${INSTALL_COPY} ${INSTALL_STRIP}" \
/bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \
--prefix=/usr --local-prefix=/usr \
--gxx-include=${GPP_INC_DIR} ${GCCARCH} && touch config.status
+.endif
.include <bsd.own.mk>