Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Feb 2017 23:33:44 +0000 (UTC)
From:      Bryan Drewery <bdrewery@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r434651 - in head/devel: aarch64-binutils binutils
Message-ID:  <201702222333.v1MNXiHw035097@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bdrewery
Date: Wed Feb 22 23:33:44 2017
New Revision: 434651
URL: https://svnweb.freebsd.org/changeset/ports/434651

Log:
  Build aarch64-binutils as static by default.
  
  This is required to build Arm64 packages using QEMU.  Poudriere copies
  the native ld from the host into the jail and uses that during the build.
  This only works if ld is static.
  
  Reported by:	krion
  Approved by:	bapt

Modified:
  head/devel/aarch64-binutils/Makefile
  head/devel/binutils/Makefile

Modified: head/devel/aarch64-binutils/Makefile
==============================================================================
--- head/devel/aarch64-binutils/Makefile	Wed Feb 22 23:32:19 2017	(r434650)
+++ head/devel/aarch64-binutils/Makefile	Wed Feb 22 23:33:44 2017	(r434651)
@@ -1,9 +1,11 @@
 # $FreeBSD$
 
+PORTREVISION=	6
 COMMENT=	GNU binutils for AArch64 cross-development
 PKGNAMEPREFIX=	aarch64-
 PLIST=	${.CURDIR}/pkg-plist
 
 MASTERDIR=	${.CURDIR}/../binutils
+OPTIONS_DEFAULT=	STATIC
 
 .include "${MASTERDIR}/Makefile"

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Wed Feb 22 23:32:19 2017	(r434650)
+++ head/devel/binutils/Makefile	Wed Feb 22 23:33:44 2017	(r434651)
@@ -3,7 +3,8 @@
 
 PORTNAME=	binutils
 PORTVERSION=	2.27
-PORTREVISION=	5
+# XXX: When removing or bumping this, remove PORTREVISION= from aarch64-binutils
+PORTREVISION?=	5
 PORTEPOCH?=	1
 CATEGORIES?=	devel
 MASTER_SITES=	SOURCEWARE/binutils/releases



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201702222333.v1MNXiHw035097>