Page Menu
Home
FreeBSD
Search
Configure Global Search
Log In
Files
F133141544
D16014.diff
No One
Temporary
Actions
View File
Edit File
Delete File
View Transforms
Subscribe
Mute Notifications
Flag For Later
Award Token
Size
1 KB
Referenced Files
None
Subscribers
None
D16014.diff
View Options
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
Details
Attached
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)
Attached To
Mode
D16014: Enable .init_array and .fini_array with xtoolchain GCC.
Attached
Detach File
Event Timeline
Log In to Comment