From 7cea153882c92c27e035f32095a34c622bc7865a Mon Sep 17 00:00:00 2001
From: barracuda156 <vital.had@gmail.com>
Date: Fri, 29 Mar 2024 23:02:28 +0800
Subject: [PATCH] darwin.h: adjust for 10.6 ppc

---
 gcc/config/darwin.h | 8 ++++----
 1 file changed, 4 insertions(+), 4 deletions(-)

diff --git gcc/config/darwin.h gcc/config/darwin.h
index 28cc97eeccf..43536f1fc65 100644
--- gcc/config/darwin.h
+++ gcc/config/darwin.h
@@ -419,7 +419,6 @@
       %{%:sanitize(address): -lasan } \
       %{%:sanitize(undefined): -lubsan } \
       %(link_ssp) \
-      %:version-compare(>< 10.6 10.7 mmacosx-version-min= -ld10-uwfef) \
       %(link_gcc_c_sequence) \
       %{!nodefaultexport: \
 	%{%:version-compare(>= 10.11 asm_macosx_version_min= -U): \
@@ -551,17 +550,17 @@
 #undef REAL_LIBGCC_SPEC
 #define REAL_LIBGCC_SPEC \
 "%{static-libgcc|static:						  \
-    %:version-compare(!> 10.6 mmacosx-version-min= -lgcc_eh);		  \
+    %:version-compare(!> 10.7 mmacosx-version-min= -lgcc_eh);		  \
    shared-libgcc|fexceptions|fobjc-exceptions|fgnu-runtime:		  \
    " DARWIN_SHARED_LIBGCC "						  \
     %:version-compare(!> 10.3.9 mmacosx-version-min= -lgcc_eh)		  \
     %:version-compare(>< 10.3.9 10.5 mmacosx-version-min= -lgcc_s.10.4)   \
-    %:version-compare(>< 10.5 10.6 mmacosx-version-min= -lgcc_s.10.5)	  \
+    %:version-compare(>< 10.5 10.7 mmacosx-version-min= -lgcc_s.10.5)	  \
   } -lgcc "
 
 #define DARWIN_WEAK_CRTS \
 "%{static-libgcc|static:						  \
-    %{%:version-compare(>= 10.6 mmacosx-version-min= -lemutls_w):	  \
+    %{%:version-compare(>= 10.7 mmacosx-version-min= -lemutls_w):	  \
       " DARWIN_HEAP_T_LIB "} ;						  \
    shared-libgcc|fexceptions|fobjc-exceptions|fgnu-runtime: " \
      DARWIN_SHARED_WEAK_ADDS " ; \
