From 1154360eaa892d8dc92c3efa24abf199d6a74384 Mon Sep 17 00:00:00 2001 From: Ruslan Ermilov Date: Thu, 5 Feb 2004 19:54:56 +0000 Subject: [PATCH] strip wasn't stripped since we stopped to include bsd.own.mk from sys.mk. --- gnu/usr.bin/binutils/strip/Makefile | 14 ++++++-------- 1 file changed, 6 insertions(+), 8 deletions(-) diff --git a/gnu/usr.bin/binutils/strip/Makefile b/gnu/usr.bin/binutils/strip/Makefile index c059b4bace12..b204431adaf8 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 + +maybe_stripped: strip + cp strip maybe_stripped +.if defined(STRIP) && !empty(STRIP:M-s) + -strip maybe_stripped +.endif