aboutsummaryrefslogtreecommitdiff
path: root/lang/gcc48
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2017-11-23 21:12:22 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2017-11-23 21:12:22 +0000
commit3a99e08e201fb030a7759df4ab03ddb1a5d0c338 (patch)
tree8078bfacde4e168904d22f1d88cc2a38b8bfb967 /lang/gcc48
parentfa65f93cbbfd9ab76fcd3a8df99ece5aaa8a9601 (diff)
downloadports-3a99e08e201fb030a7759df4ab03ddb1a5d0c338.tar.gz
ports-3a99e08e201fb030a7759df4ab03ddb1a5d0c338.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
Notes
Notes: svn path=/head/; revision=454798
Diffstat (limited to 'lang/gcc48')
-rw-r--r--lang/gcc48/Makefile4
1 files changed, 4 insertions, 0 deletions
diff --git a/lang/gcc48/Makefile b/lang/gcc48/Makefile
index ceb4ecfe1ddb..d01fbc178102 100644
--- a/lang/gcc48/Makefile
+++ b/lang/gcc48/Makefile
@@ -82,6 +82,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} \