diff options
author | andreast <andreast@FreeBSD.org> | 2016-06-04 05:24:41 +0800 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2016-06-04 05:24:41 +0800 |
commit | c7a657666827240c2c14bee224821c318204fe1f (patch) | |
tree | 38a2f2206fd702d6052af4b2af1ab31dcb174206 /lang/gcc | |
parent | de647b9415877e06fde1fb8487fe31baf0d07a5f (diff) | |
download | freebsd-ports-gnome-c7a657666827240c2c14bee224821c318204fe1f.tar.gz freebsd-ports-gnome-c7a657666827240c2c14bee224821c318204fe1f.tar.zst freebsd-ports-gnome-c7a657666827240c2c14bee224821c318204fe1f.zip |
Skip armv6hf support and move it into armv6.
Discussed with: gerald@
Diffstat (limited to 'lang/gcc')
-rw-r--r-- | lang/gcc/files/patch-armv6-hf-support | 17 |
1 files changed, 17 insertions, 0 deletions
diff --git a/lang/gcc/files/patch-armv6-hf-support b/lang/gcc/files/patch-armv6-hf-support new file mode 100644 index 000000000000..9c33bfac02d2 --- /dev/null +++ b/lang/gcc/files/patch-armv6-hf-support @@ -0,0 +1,17 @@ +--- 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} |