The branch, master has been updated
via 189d0b83b20bd701bf7f8e171d3bb8e9c6077dd7 (commit)
via f85da32e3a841742fda6e869afa6ce21a84e8550 (commit)
from 424d844534756c4c497675798412f73973ba9819 (commit)
- Log -----------------------------------------------------------------
commit 189d0b83b20bd701bf7f8e171d3bb8e9c6077dd7
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Mon Sep 15 14:30:16 2025 +0200
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Mon Sep 15 14:37:43 2025 +0200
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.
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(){
commit f85da32e3a841742fda6e869afa6ce21a84e8550
Author: Timo Rothenpieler <[email protected]>
AuthorDate: Mon Sep 15 14:17:49 2025 +0200
Commit: Timo Rothenpieler <[email protected]>
CommitDate: Mon Sep 15 14:17:49 2025 +0200
configure: make --extra-objcflags show the right default flags
diff --git a/configure b/configure
index 23a958e38d..82d1a9d3ea 100755
--- a/configure
+++ b/configure
@@ -419,7 +419,7 @@ Toolchain options:
--host-os=OS compiler host OS [$target_os]
--extra-cflags=ECFLAGS add ECFLAGS to CFLAGS [$CFLAGS]
--extra-cxxflags=ECFLAGS add ECFLAGS to CXXFLAGS [$CXXFLAGS]
- --extra-objcflags=FLAGS add FLAGS to OBJCFLAGS [$CFLAGS]
+ --extra-objcflags=FLAGS add FLAGS to OBJCFLAGS [$OBJCFLAGS]
--extra-ldflags=ELDFLAGS add ELDFLAGS to LDFLAGS [$LDFLAGS]
--extra-ldexeflags=ELDFLAGS add ELDFLAGS to LDEXEFLAGS [$LDEXEFLAGS]
--extra-ldsoflags=ELDFLAGS add ELDFLAGS to LDSOFLAGS [$LDSOFLAGS]
-----------------------------------------------------------------------
Summary of changes:
configure | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
hooks/post-receive
--
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]