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)
This commit is contained in:
parent
5376e60563
commit
1f95252427
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=405044
2 changed files with 12 additions and 1 deletions
|
@ -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-
|
||||
|
|
11
devel/arm-none-eabi-gcc492/files/patch-gcc_config.host
Normal file
11
devel/arm-none-eabi-gcc492/files/patch-gcc_config.host
Normal file
|
@ -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"
|
Loading…
Reference in a new issue