aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorswills <swills@FreeBSD.org>2016-08-28 06:23:31 +0800
committerswills <swills@FreeBSD.org>2016-08-28 06:23:31 +0800
commit217111315587b9fbe7082b085e5de0aa8b3129a3 (patch)
tree85edac948a7fd7598107e0489df8a15f0fde3321
parent418fd6ba60b7005d96ab4002d04f8aa4656c7105 (diff)
downloadfreebsd-ports-gnome-217111315587b9fbe7082b085e5de0aa8b3129a3.tar.gz
freebsd-ports-gnome-217111315587b9fbe7082b085e5de0aa8b3129a3.tar.zst
freebsd-ports-gnome-217111315587b9fbe7082b085e5de0aa8b3129a3.zip
base/binutils: fix stripping
Setting STRIPBIN is required by install. While here, remove uneeded /s
-rw-r--r--base/binutils/Makefile6
1 files changed, 4 insertions, 2 deletions
diff --git a/base/binutils/Makefile b/base/binutils/Makefile
index 4753caa539a6..1f01ac1c0f70 100644
--- a/base/binutils/Makefile
+++ b/base/binutils/Makefile
@@ -33,6 +33,8 @@ CXXFLAGS+= --sysroot=${CROSS_SYSROOT}
CC= ${XCC}
CXX= ${XCXX}
.for tool in AS AR LD NM OBJCOPY RANLIB SIZE STRINGS
-${tool}= ${CROSS_BINUTILS_PREFIX}/${tool:tl}
+${tool}= ${CROSS_BINUTILS_PREFIX}${tool:tl}
.endfor
-STRIP_CMD= ${CROSS_BINUTILS_PREFIX}/strip
+STRIP_CMD= ${CROSS_BINUTILS_PREFIX}strip
+STRIPBIN= ${STRIP_CMD}
+.export.env STRIPBIN