diff options
author | kstailey <kstailey@cvs.openbsd.org> | 1997-07-24 19:27:51 +0000 |
---|---|---|
committer | kstailey <kstailey@cvs.openbsd.org> | 1997-07-24 19:27:51 +0000 |
commit | 6789d89b2de777fed637106840f890f0297bf585 (patch) | |
tree | d6191f74a6ee458ba4f33fb49712e95e59a2012b | |
parent | 04be6204f118ee452b9ac608af4c5732839cfdba (diff) |
respect ``INSTALL_STRIP=-s'' pr 188
-rw-r--r-- | gnu/usr.bin/gcc/Makefile.bsd-wrapper | 12 |
1 files changed, 11 insertions, 1 deletions
diff --git a/gnu/usr.bin/gcc/Makefile.bsd-wrapper b/gnu/usr.bin/gcc/Makefile.bsd-wrapper index 4024902e1e4..84ebd8af7b0 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.25 1997/06/23 22:20:26 kstailey Exp $ +# $OpenBSD: Makefile.bsd-wrapper,v 1.26 1997/07/24 19:27:50 kstailey Exp $ MAN= cccp.1 gcc.1 cp/g++.1 f/g77.1 MLINKS+= gcc.1 cc.1 @@ -36,13 +36,23 @@ config.status: Makefile.in configure c-parse.in /bin/sh ${.CURDIR}/configure --with-gnu-as --with-gnu-ld \ --prefix=/usr --local-prefix=/usr \ --gxx-include=${GPP_INC_DIR} ${GCCARCH} && touch config.status + +.include <bsd.own.mk> + .ifdef NOMAN maninstall: @echo NOMAN is set .endif +.if defined (INSTALL_STRIP) && ${INSTALL_STRIP} == "-s" +INST_PROG='/usr/bin/install -cs' +.else +INST_PROG='/usr/bin/install -c' +.endif + install: maninstall ${MAKE} ${GNUCFLAGS} prefix=${DESTDIR}/usr \ + INSTALL_PROGRAM=$(INST_PROG) \ infodir=${DESTDIR}/usr/share/info \ build_infodir=. \ tooldir=/tmp assertdir=/tmp INSTALL_MAN= NO_TARGET_GCC=true \ |