mirror of
https://git.freebsd.org/ports.git
synced 2025-06-20 12:10:31 -04:00
While here, switch i386 to assume a default architecture of "i686" for FreeBSD 11+ to match clang. This permits lldb to link without needing libatomic. Reviewed by: emaste Differential Revision: https://reviews.freebsd.org/D26205
13 lines
395 B
Text
13 lines
395 B
Text
--- gcc/config.gcc.orig 2020-08-19 09:37:17.455916000 -0700
|
|
+++ gcc/config.gcc 2020-08-19 10:19:33.883084000 -0700
|
|
@@ -3346,7 +3346,9 @@ arch_without_sse2=no
|
|
arch_without_64bit=no
|
|
case ${target} in
|
|
i386-*-freebsd*)
|
|
- if test $fbsd_major -ge 6; then
|
|
+ if test $fbsd_major -ge 11; then
|
|
+ arch=i686
|
|
+ elif test $fbsd_major -ge 6; then
|
|
arch=i486
|
|
else
|
|
arch=i386
|