Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 2 Jan 2016 04:11:51 +0000 (UTC)
From:      Ian Lepore <ian@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r405044 - in head/devel/arm-none-eabi-gcc492: . files
Message-ID:  <201601020411.u024BpP4006736@repo.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ian
Date: Sat Jan  2 04:11:51 2016
New Revision: 405044
URL: https://svnweb.freebsd.org/changeset/ports/405044

Log:
  Add a patch to allow arm-none-eabi-gcc492 to build natively on arm systems.
  Without this change the port builds fine as a cross-compiler but fails to
  build natively on an arm system.
  
  Patch submitted by Tim Kientzle, who pointed out it was used in the original
  powerpc64-gcc port this one was derived from.
  
  PR:		205673
  PR:		204419
  Approved by:	mat (mentor)

Added:
  head/devel/arm-none-eabi-gcc492/files/
  head/devel/arm-none-eabi-gcc492/files/patch-gcc_config.host   (contents, props changed)
Modified:
  head/devel/arm-none-eabi-gcc492/Makefile

Modified: head/devel/arm-none-eabi-gcc492/Makefile
==============================================================================
--- head/devel/arm-none-eabi-gcc492/Makefile	Sat Jan  2 02:56:51 2016	(r405043)
+++ head/devel/arm-none-eabi-gcc492/Makefile	Sat Jan  2 04:11:51 2016	(r405044)
@@ -2,7 +2,7 @@
 
 PORTNAME=	gcc
 PORTVERSION=	4.9.2
-PORTREVISION=	1
+PORTREVISION=	2
 CATEGORIES=	devel
 MASTER_SITES=	GCC/releases/gcc-${DISTVERSION}
 PKGNAMEPREFIX?=	arm-none-eabi-

Added: head/devel/arm-none-eabi-gcc492/files/patch-gcc_config.host
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/devel/arm-none-eabi-gcc492/files/patch-gcc_config.host	Sat Jan  2 04:11:51 2016	(r405044)
@@ -0,0 +1,11 @@
+--- gcc/config.host.orig	2014-01-02 22:23:26 UTC
++++ gcc/config.host
+@@ -99,7 +99,7 @@ case ${host} in
+ esac
+ 
+ case ${host} in
+-  arm*-*-linux*)
++  arm*-*-*)
+     case ${target} in
+       arm*-*-*)
+ 	host_extra_gcc_objs="driver-arm.o"



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