summaryrefslogtreecommitdiffstats
path: root/gnu/usr.bin
diff options
context:
space:
mode:
authorru <ru@FreeBSD.org>2004-02-05 19:54:56 +0000
committerru <ru@FreeBSD.org>2004-02-05 19:54:56 +0000
commit1f34d0eb9a35d0ffedbbc02271b6d595075a5ff2 (patch)
treea8d5faa98c5047b2d1a495f94be36173386c518e /gnu/usr.bin
parentad7b0104a39a799896d08b0958bb94ce96ae6fd9 (diff)
downloadFreeBSD-src-1f34d0eb9a35d0ffedbbc02271b6d595075a5ff2.zip
FreeBSD-src-1f34d0eb9a35d0ffedbbc02271b6d595075a5ff2.tar.gz
strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk.
Diffstat (limited to 'gnu/usr.bin')
-rw-r--r--gnu/usr.bin/binutils/strip/Makefile14
1 files changed, 6 insertions, 8 deletions
diff --git a/gnu/usr.bin/binutils/strip/Makefile b/gnu/usr.bin/binutils/strip/Makefile
index c059b4b..b204431 100644
--- a/gnu/usr.bin/binutils/strip/Makefile
+++ b/gnu/usr.bin/binutils/strip/Makefile
@@ -17,16 +17,14 @@ CLEANFILES+= maybe_stripped
all: maybe_stripped
-maybe_stripped: strip
- cp strip maybe_stripped
-.if defined(STRIP)
-.if ${STRIP:M-s} != ""
- -strip maybe_stripped
-.endif
-.endif
-
realinstall:
${INSTALL} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
maybe_stripped ${DESTDIR}${BINDIR}/strip
.include <bsd.prog.mk>
+
+maybe_stripped: strip
+ cp strip maybe_stripped
+.if defined(STRIP) && !empty(STRIP:M-s)
+ -strip maybe_stripped
+.endif
OpenPOWER on IntegriCloud