--- configure.orig	2026-07-13 17:22:12.000000000 -0700
+++ configure	2026-07-15 13:28:32.000000000 -0700
@@ -8524,7 +8524,8 @@ printf %s "checking for $CC linker warni
 	   >/dev/null
 then :
 
-	suppress_ld_waring=yes
+	CC_WRAPPER=`cd -P "${tooldir}" && pwd`/darwin-cc
+	CC="$CC_WRAPPER $CC"
 
 fi
     rm -fr conftest*
@@ -34984,19 +34985,6 @@ fi
 
 
 
-if test "x$load_relative:$DESTDIR" = xyes:
-then :
-
-    if test "x$prefix" = xNONE
-then :
-  DESTDIR="$ac_default_prefix"
-else $as_nop
-  DESTDIR="$prefix"
-fi
-    prefix=/.
-
-fi
-
 cat >confcache <<\_ACEOF
 # This file is a shell script that caches the results of configure
 # tests run on this system so they can be shared between configure
