aboutsummaryrefslogtreecommitdiffstats
path: root/lang/gcc47
diff options
context:
space:
mode:
authorgerald <gerald@FreeBSD.org>2017-11-24 05:12:22 +0800
committergerald <gerald@FreeBSD.org>2017-11-24 05:12:22 +0800
commitc56c38b3064a6437ba6f31e7e8d5c6d0f4eb7da5 (patch)
tree8078bfacde4e168904d22f1d88cc2a38b8bfb967 /lang/gcc47
parentb38f015ae8cfbbc51aa19f4e91749975a6dfec13 (diff)
downloadfreebsd-ports-gnome-c56c38b3064a6437ba6f31e7e8d5c6d0f4eb7da5.tar.gz
freebsd-ports-gnome-c56c38b3064a6437ba6f31e7e8d5c6d0f4eb7da5.tar.zst
freebsd-ports-gnome-c56c38b3064a6437ba6f31e7e8d5c6d0f4eb7da5.zip
Backport the change to ensure what we install is stripped (i.e., debug
info is removed) from lang/gcc7 to lang/gcc47, lang/gcc48 and lang/gcc49. (For more background see revisions 454177 and 454422.) Reported by: Ports QA Framework, miwi, sobomax Discussed with: tijl, miwi Differential Revision: https://reviews.freebsd.org/D10357
Diffstat (limited to 'lang/gcc47')
-rw-r--r--lang/gcc47/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc47/Makefile b/lang/gcc47/Makefile
index 4eab8941fe42..080ec6d89c84 100644
--- a/lang/gcc47/Makefile
+++ b/lang/gcc47/Makefile
@@ -61,6 +61,10 @@ CONFIGURE_ARGS+=--disable-bootstrap
CONFIGURE_ARGS+=--with-build-config=bootstrap-debug
ALL_TARGET= bootstrap-lean
.endif
+INSTALL_TARGET= install-strip
+.if ${UID} != 0
+BINMODE= 755
+.endif
CONFIGURE_ARGS+=--disable-nls \
--enable-gnu-indirect-function \
--libdir=${TARGLIB} \