configure: pass CFLAGS to ObjC tests again

It was mistakenly removed in 0ce413af9c.

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.
This commit is contained in:
Timo Rothenpieler committed 2025-09-15 14:37:43 +02:00
1 parent f85da32e3a
commit 189d0b83b2
1 file changed
+1 -1
Vendored
+1 -1
View File
@@ -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(){