Page MenuHomeFreeBSD

D16014.diff
No OneTemporary

D16014.diff

Index: head/base/gcc/Makefile
===================================================================
--- head/base/gcc/Makefile
+++ head/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 \
@@ -60,6 +61,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=""
Index: head/devel/powerpc64-gcc/Makefile
===================================================================
--- head/devel/powerpc64-gcc/Makefile
+++ head/devel/powerpc64-gcc/Makefile
@@ -2,6 +2,7 @@
PORTNAME= gcc
PORTVERSION= 6.4.0
+PORTREVISION= 1
CATEGORIES= devel
MASTER_SITES= GCC/releases/gcc-${DISTVERSION}
PKGNAMEPREFIX?= powerpc64-
@@ -59,6 +60,10 @@
.include <bsd.port.options.mk>
.include <bsd.port.pre.mk>
+
+.if ${GCC_TARGET:M*${OPSYS:tl}*} != ""
+CONFIGURE_ARGS+= --enable-initfini-array
+.endif
post-patch:
@${REINPLACE_CMD} -e '/LIBSTDCXX/ s/stdc\+\+/c\+\+/g ' \

File Metadata

Mime Type
text/plain
Expires
Fri, Oct 24, 8:19 AM (20 h, 2 m)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
24125499
Default Alt Text
D16014.diff (1 KB)

Event Timeline