diff options
author | andreast <andreast@FreeBSD.org> | 2016-06-04 05:31:04 +0800 |
---|---|---|
committer | andreast <andreast@FreeBSD.org> | 2016-06-04 05:31:04 +0800 |
commit | d3d92cb0820d633937559de47c5163e25637ef45 (patch) | |
tree | eaf5797e76edb98c6fc03a6bad237450ec6b3c7e /lang | |
parent | eb38a4dc21bbe23cc8db2317479ca95fe0e24e9d (diff) | |
download | freebsd-ports-gnome-d3d92cb0820d633937559de47c5163e25637ef45.tar.gz freebsd-ports-gnome-d3d92cb0820d633937559de47c5163e25637ef45.tar.zst freebsd-ports-gnome-d3d92cb0820d633937559de47c5163e25637ef45.zip |
Skip armv6hf support and move it into armv6.
Diffstat (limited to 'lang')
-rw-r--r-- | lang/gcc5-aux/files/patch-armv6-hf-support | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/gcc5-aux/files/patch-armv6-hf-support b/lang/gcc5-aux/files/patch-armv6-hf-support new file mode 100644 index 000000000000..9352e2cdfcc0 --- /dev/null +++ b/lang/gcc5-aux/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} |