ports/devel/arm-none-eabi-gcc492/files/patch-gcc_config.host
Ian Lepore 1f95252427 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)
2016-01-02 04:11:51 +00:00

11 lines
236 B
Text

--- 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"