summaryrefslogtreecommitdiff
path: root/base
diff options
context:
space:
mode:
authorJohn Baldwin <jhb@FreeBSD.org>2018-07-11 16:50:00 +0000
committerJohn Baldwin <jhb@FreeBSD.org>2018-07-11 16:50:00 +0000
commit9b66924988bfaf1c9a4c87842cd2bf2322d4d457 (patch)
tree87494318e879a973effe8750581e857eca1b98d6 /base
parentaf3ce47a68cfa81e0a1d783345c5b03959223dfe (diff)
Notes
Diffstat (limited to 'base')
-rw-r--r--base/gcc/Makefile5
1 files changed, 5 insertions, 0 deletions
diff --git a/base/gcc/Makefile b/base/gcc/Makefile
index 7c807974a213..47ea555a0296 100644
--- a/base/gcc/Makefile
+++ b/base/gcc/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gcc
PORTVERSION= 6.4.0
+PORTREVISION= 1
CATEGORIES= base
MASTER_SITES= GCC/releases/gcc-${DISTVERSION} \
http://www.mpfr.org/mpfr-3.1.6/:mpfr \
@@ -61,6 +62,10 @@ INSTALL_TARGET?= install-gcc
.include <bsd.port.pre.mk>
+.if ${OSVERSION} >= 1200000
+CONFIGURE_ARGS+= --enable-initfini-array
+.endif
+
.if ${ARCH:Mmips*}
PLIST_SUB+= MIPS=""
.else