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:
parent
638eb974e9
commit
fdbf4ee15e
Notes:
svn2git
2021-03-31 03:12:20 +00:00
svn path=/head/; revision=416337
17
lang/gcc/files/patch-armv6-hf-support
Normal file
17
lang/gcc/files/patch-armv6-hf-support
Normal 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}
|
18
lang/gcc49/files/patch-armv6-hf-support
Normal file
18
lang/gcc49/files/patch-armv6-hf-support
Normal 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}
|
18
lang/gcc5/files/patch-armv6-hf-support
Normal file
18
lang/gcc5/files/patch-armv6-hf-support
Normal 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}
|
17
lang/gcc6-aux/files/patch-armv6-hf-support
Normal file
17
lang/gcc6-aux/files/patch-armv6-hf-support
Normal 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}
|
Loading…
Reference in New Issue
Block a user