diff options
-rw-r--r-- | lang/gcc6/files/patch-armv6-hf-support | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/gcc6/files/patch-armv6-hf-support b/lang/gcc6/files/patch-armv6-hf-support new file mode 100644 index 000000000000..9352e2cdfcc0 --- /dev/null +++ b/lang/gcc6/files/patch-armv6-hf-support @@ -0,0 +1,18 @@ +--- 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} |