From owner-svn-ports-all@freebsd.org Wed Aug 31 21:15:05 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id 713AABCAFB3; Wed, 31 Aug 2016 21:15:05 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 417A2AED; Wed, 31 Aug 2016 21:15:05 +0000 (UTC) (envelope-from antoine@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u7VLF4b1014243; Wed, 31 Aug 2016 21:15:04 GMT (envelope-from antoine@FreeBSD.org) Received: (from antoine@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u7VLF4Dw014242; Wed, 31 Aug 2016 21:15:04 GMT (envelope-from antoine@FreeBSD.org) Message-Id: <201608312115.u7VLF4Dw014242@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: antoine set sender to antoine@FreeBSD.org using -f From: Antoine Brodin Date: Wed, 31 Aug 2016 21:15:04 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r421193 - head/devel/binutils X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.22 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 31 Aug 2016 21:15:05 -0000 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