From 907b31d7b92fd0eb98507dca6411d07da0fecb46 Mon Sep 17 00:00:00 2001 From: Aaron Patterson Date: Wed, 27 Apr 2022 15:37:58 -0700 Subject: [PATCH] Don't set LDFLAGS by default This fixes a bug where Ruby on macOS running on ARM would try to look in `/usr/local/lib` for things to link against, but the libraries in that directory are from the x86 installation of Homebrew [ruby-core:108424] --- configure.ac | 7 ------- 1 file changed, 7 deletions(-) diff --git a/configure.ac b/configure.ac index 2222b8aa8e..0796b06943 100644 --- a/configure.ac +++ b/configure.ac @@ -1007,13 +1007,6 @@ AS_CASE(["$target_os"], ]) ac_cv_func_getcontext=no ac_cv_func_setcontext=no - incs=`$CC -v -E -xc - < /dev/null 2>&1 | sed ['1,/^@%:@include