diff options
author | andreast <andreast@FreeBSD.org> | 2016-06-13 17:07:14 +0800 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2016-06-13 17:07:14 +0800 |
commit | 113b5cb4ad94445c57eef7a14a22acf5680294b2 (patch) | |
tree | 74877aec438d4a8e8edb0b10af0d8f7929c4bd1e /lang/gcc6 | |
parent | 8122283b7656667ad7ce1e52cad22c96b4d00281 (diff) | |
download | freebsd-ports-gnome-113b5cb4ad94445c57eef7a14a22acf5680294b2.tar.gz freebsd-ports-gnome-113b5cb4ad94445c57eef7a14a22acf5680294b2.tar.zst freebsd-ports-gnome-113b5cb4ad94445c57eef7a14a22acf5680294b2.zip |
Skip armv6hf support and move it into armv6.
Diffstat (limited to 'lang/gcc6')
-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} |