summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTimo Rothenpieler <[email protected]>2025-09-15 14:30:16 +0200
committerTimo Rothenpieler <[email protected]>2025-09-15 14:37:43 +0200
commit189d0b83b20bd701bf7f8e171d3bb8e9c6077dd7 (patch)
tree27e0d68daef662da88813071eda2710be0fad01d
parentf85da32e3a841742fda6e869afa6ce21a84e8550 (diff)
configure: pass CFLAGS to ObjC tests again
It was mistakenly removed in 0ce413af9cc8040095a6b714600d6a8dceaca514. This matches how the Makefiles actually compile ObjC code, and unlike C++, this seems to actually be benign and various existing setups rely on that behaviour.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index 82d1a9d3ea..3d51749618 100755
--- a/configure
+++ b/configure
@@ -1092,7 +1092,7 @@ test_objcc(){
log test_objcc "$@"
cat > $TMPM
log_file $TMPM
- test_cmd $objcc -Werror=missing-prototypes $CPPFLAGS $OBJCFLAGS "$@" $OBJCC_C $(cc_o $TMPO) $TMPM
+ test_cmd $objcc -Werror=missing-prototypes $CPPFLAGS $CFLAGS $OBJCFLAGS "$@" $OBJCC_C $(cc_o $TMPO) $TMPM
}
test_nvcc(){