aboutsummaryrefslogtreecommitdiff
path: root/devel/freebsd-gcc14/files/patch-gcc_config.gcc
blob: 67bf9a5fd126c052dc509f51553da9d8275b8d3a (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
--- gcc/config.gcc.orig	2024-05-07 06:51:37 UTC
+++ gcc/config.gcc
@@ -3700,7 +3700,9 @@ case ${target} in
 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