summaryrefslogtreecommitdiffstats
path: root/lang/gcc/files/patch-armv6-hf-support
blob: 9352e2cdfcc0d37c11732b589de62e574f047bf9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
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}
OpenPOWER on IntegriCloud