ports/lang/gcc48/files/patch-armv6-hf-support
Gerald Pfeifer e40987f488 Move all ARM-specific bits we used to have in lang/gcc until r426565
(where I updated that port from GCC 4.8.5 to 4.9.4) to lang/gcc48.

Apart from these improvements these two ports used to be more or less
aligned, and not syncing them fully earlier looks like an omission.

Reported by:	linimon
2016-11-20 21:39:50 +00:00

18 lines
515 B
Text

--- UTC
--- gcc/config.gcc.orig 2016-05-25 22:53:15.930993000 +0200
+++ gcc/config.gcc 2016-05-25 22:54:06.087115000 +0200
@@ -1026,11 +1026,9 @@
case $target in
armv6*-*-freebsd*)
tm_defines="${tm_defines} TARGET_FREEBSD_ARMv6=1"
- ;;
- esac
- case $target in
- arm*hf-*-freebsd*)
- tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+ if test $fbsd_major -ge 11; then
+ tm_defines="${tm_defines} TARGET_FREEBSD_ARM_HARD_FLOAT=1"
+ fi
;;
esac
with_tls=${with_tls:-gnu}