Date: Wed, 31 Aug 2016 21:15:04 +0000 (UTC) From: Antoine Brodin <antoine@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421193 - head/devel/binutils Message-ID: <201608312115.u7VLF4Dw014242@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: antoine Date: Wed Aug 31 21:15:04 2016 New Revision: 421193 URL: https://svnweb.freebsd.org/changeset/ports/421193 Log: Do not use .init_array/.fini_array sections on FreeBSD 9 This should fix build failures of llvm37 and a few others PR: 212249 With hat: portmgr Modified: head/devel/binutils/Makefile Modified: head/devel/binutils/Makefile ============================================================================== --- head/devel/binutils/Makefile Wed Aug 31 20:56:40 2016 (r421192) +++ head/devel/binutils/Makefile Wed Aug 31 21:15:04 2016 (r421193) @@ -3,7 +3,7 @@ PORTNAME= binutils PORTVERSION= 2.27 -PORTREVISION= 2 +PORTREVISION= 3 PORTEPOCH?= 1 CATEGORIES?= devel MASTER_SITES= SOURCEWARE/binutils/releases @@ -82,6 +82,10 @@ PLIST_SUB+= GOLD="" PLIST_SUB+= GOLD="@comment " .endif +.if ${OPSYS} == FreeBSD && ${OSVERSION} < 1000000 +CONFIGURE_ARGS+= --disable-initfini-array +.endif + .if ${ARCH} == "amd64" CONFIGURE_TARGET= x86_64-portbld-freebsd${OSREL} .else
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201608312115.u7VLF4Dw014242>