aboutsummaryrefslogtreecommitdiff
path: root/lang
diff options
context:
space:
mode:
authorGerald Pfeifer <gerald@FreeBSD.org>2017-04-08 06:27:14 +0000
committerGerald Pfeifer <gerald@FreeBSD.org>2017-04-08 06:27:14 +0000
commitd6e7f724ca02fa8c959d911f0bd60ef1f0c61ca2 (patch)
treeeceaa3e4af604ebceba1fc76b38019e0a8e8c355 /lang
parent6cd9c4b15bb7e7df1a45f459ac36fb9324d51a66 (diff)
downloadports-d6e7f724ca02fa8c959d911f0bd60ef1f0c61ca2.tar.gz
ports-d6e7f724ca02fa8c959d911f0bd60ef1f0c61ca2.zip
Notes
Diffstat (limited to 'lang')
-rw-r--r--lang/gcc/files/patch-disable-armvhf-config.gcc18
1 files changed, 18 insertions, 0 deletions
diff --git a/lang/gcc/files/patch-disable-armvhf-config.gcc b/lang/gcc/files/patch-disable-armvhf-config.gcc
new file mode 100644
index 000000000000..7d9e4bb70524
--- /dev/null
+++ b/lang/gcc/files/patch-disable-armvhf-config.gcc
@@ -0,0 +1,18 @@
+--- UTC
+--- gcc/config.gcc.orig 2017-04-03 17:14:32.217141000 +0200
++++ gcc/config.gcc 2017-04-03 17:15:05.626375000 +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}