1
0
mirror of https://git.FreeBSD.org/ports.git synced 2024-12-03 01:23:49 +00:00

Skip armv6hf support and move it into armv6.

Discussed with: gerald@
This commit is contained in:
Andreas Tobler 2016-06-03 21:24:41 +00:00
parent 638eb974e9
commit fdbf4ee15e
Notes: svn2git 2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416337
4 changed files with 70 additions and 0 deletions

View File

@ -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}

View File

@ -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}

View File

@ -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}

View File

@ -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}