diff options
| author | tv <tv@NetBSD.org> | 1998-08-27 23:32:33 +0000 |
|---|---|---|
| committer | tv <tv@NetBSD.org> | 1998-08-27 23:32:33 +0000 |
| commit | df831423344216fee8f39273e574bbd67c93eaba (patch) | |
| tree | eec750a91741e0d99f2dca94b5437a2e69fc31ff /gnu/usr.bin/binutils | |
| parent | 16a9e147f7b9100f6203804a4eded51becce7399 (diff) | |
When installing, don't let "install" strip it. Do that part manually.
Diffstat (limited to 'gnu/usr.bin/binutils')
| -rw-r--r-- | gnu/usr.bin/binutils/strip/Makefile | 11 |
1 files changed, 9 insertions, 2 deletions
diff --git a/gnu/usr.bin/binutils/strip/Makefile b/gnu/usr.bin/binutils/strip/Makefile index b963c45e822..f2aa755a62a 100644 --- a/gnu/usr.bin/binutils/strip/Makefile +++ b/gnu/usr.bin/binutils/strip/Makefile @@ -1,6 +1,5 @@ -# $NetBSD: Makefile,v 1.2 1998/07/29 19:18:28 thorpej Exp $ +# $NetBSD: Makefile,v 1.3 1998/08/27 23:32:33 tv Exp $ -# XXX until our binutils is upgraded .if (${MACHINE_ARCH} != "powerpc") PROG= strip SRCS= objcopy.c is-strip.c @@ -9,3 +8,11 @@ SRCS= objcopy.c is-strip.c MAN= strip.1 .include <bsd.prog.mk> + +# STRIPPROG is capable of stripping itself, so this is OK. +.if (${STRIPFLAG} != "") && (${MACHINE_ARCH} != "powerpc") +STRIPFLAG:= +realinstall: __installstrip +__installstrip: + ${STRIPPROG} ${DESTDIR}/${BINDIR}/strip +.endif |
