From 620038c6d1fc031683c8c37ab61951a8a32048ed Mon Sep 17 00:00:00 2001 From: Mario Sergio Fujikawa Ferreira Date: Tue, 16 Oct 2001 15:47:13 +0000 Subject: o make stripping the binaries conditional to the existence of the strip command o this is important since the current emulators/linux_base-7 does not carry a strip command and no appropriate port carrying it currently exists Prompted by: John Merryweather Cooper --- devel/understand_c/Makefile | 2 ++ 1 file changed, 2 insertions(+) (limited to 'devel/understand_c/Makefile') diff --git a/devel/understand_c/Makefile b/devel/understand_c/Makefile index dcd93905b62a..e2bbe6e8c4e9 100644 --- a/devel/understand_c/Makefile +++ b/devel/understand_c/Makefile @@ -100,7 +100,9 @@ do-install: .for file in ${BIN_FILES} @${INSTALL_SCRIPT} ${WRKSRC}/bin/pc-linux_elf/${file} \ ${PREFIX}/lib/understand_c/bin/pc-linux_elf +.if exists(${STRIP}) @${STRIP} ${PREFIX}/lib/understand_c/bin/pc-linux_elf/${file} +.endif @${BRANDELF} -t Linux ${PREFIX}/lib/understand_c/bin/pc-linux_elf/${file} @if [ ! -f ${PREFIX}/bin/${file} ]; \ then \ -- cgit v1.2.3