mirror of
https://git.ffmpeg.org/ffmpeg.git
synced 2026-10-28 18:15:24 +08:00
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:
1 parent
f85da32e3a
commit
189d0b83b2
1 file changed
+1
-1
@@ -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(){
|
||||
|
||||
Reference in new issue
Block a user