summaryrefslogtreecommitdiffstats
path: root/usr.bin/strip
diff options
context:
space:
mode:
authornate <nate@FreeBSD.org>1996-06-27 21:48:50 +0000
committernate <nate@FreeBSD.org>1996-06-27 21:48:50 +0000
commit3b624192af55e4a76b8d46c2bb3bff594dd5c34b (patch)
treeedd264bb76780c7bb5b29a47e11423e0606b06e8 /usr.bin/strip
parent02519a6da0fbd17477c014209c6d600af1a542fc (diff)
downloadFreeBSD-src-3b624192af55e4a76b8d46c2bb3bff594dd5c34b.zip
FreeBSD-src-3b624192af55e4a76b8d46c2bb3bff594dd5c34b.tar.gz
Trivial bugfix which occurs when DEBUG_FLAGS is defined. If DEBUG_FLAGS
is defined, STRIP is undefined and causes the Makefile to blow up, so make sure STRIP is defined if you plan on using it.
Diffstat (limited to 'usr.bin/strip')
-rw-r--r--usr.bin/strip/Makefile2
1 files changed, 2 insertions, 0 deletions
diff --git a/usr.bin/strip/Makefile b/usr.bin/strip/Makefile
index b9bfe09..3d19864 100644
--- a/usr.bin/strip/Makefile
+++ b/usr.bin/strip/Makefile
@@ -8,9 +8,11 @@ all: maybe_stripped
maybe_stripped: strip
cp -p strip maybe_stripped
+.if defined(STRIP)
.if ${STRIP:M-s} != ""
./strip maybe_stripped
.endif
+.endif
install: maninstall
${INSTALL} ${COPY} -o ${BINOWN} -g ${BINGRP} -m ${BINMODE} \
OpenPOWER on IntegriCloud