Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 24 Feb 2018 14:58:38 +0000 (UTC)
From:      Mark Linimon <linimon@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r462840 - head/devel/binutils
Message-ID:  <201802241458.w1OEwcJ5012593@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: linimon
Date: Sat Feb 24 14:58:38 2018
New Revision: 462840
URL: https://svnweb.freebsd.org/changeset/ports/462840

Log:
  Add support for powerpcspe arch.
  
  Tested for harmlessness on amd64.
  
  Differential revision:	https://reviews.freebsd.org/D14335
  Submitted by:		jhibbits

Modified:
  head/devel/binutils/Makefile

Modified: head/devel/binutils/Makefile
==============================================================================
--- head/devel/binutils/Makefile	Sat Feb 24 14:54:52 2018	(r462839)
+++ head/devel/binutils/Makefile	Sat Feb 24 14:58:38 2018	(r462840)
@@ -90,7 +90,7 @@ STATIC_LDFLAGS+=	-all-static
 .include <bsd.port.pre.mk>
 
 # Actual earliest version may differ slightly
-.if ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc)
+.if ${ARCH} != i386 && ${ARCH} != mips && ${ARCH} != mips64 && ${ARCH} != powerpc && ${ARCH} != powerpc64 && ${ARCH} != powerpcspe && !defined(PKGNAMEPREFIX) && (${COMPILER_TYPE} == clang && ${COMPILER_VERSION} >= 34 || ${COMPILER_TYPE} == gcc)
 CONFIGURE_ARGS+=	--enable-gold --enable-plugins
 PLIST_SUB+=	GOLD=""
 .else
@@ -99,6 +99,8 @@ PLIST_SUB+=	GOLD="@comment "
 
 .if ${ARCH} == "amd64"
 CONFIGURE_TARGET=	x86_64-portbld-freebsd${OSREL}
+.elif ${ARCH} == "powerpcspe"
+CONFIGURE_TARGET=	powerpc-portbld-freebsd${OSREL}
 .else
 CONFIGURE_TARGET=	${ARCH}-portbld-freebsd${OSREL}
 .endif



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