This is an automated email from the git hooks/post-receive script.

Git pushed a commit to branch master
in repository ffmpeg.

commit 4b39049f44af9228aa04f4059bf658bdc82c55ed
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Mon Sep 21 13:08:54 2026 +0200
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Mon Sep 21 21:34:23 2026 +0000

    configure: let the C compiler decide check_allcflags
    
    b4bd8d1f64 made the status the AND of both compilers and 50e64f97d9 put
    it in charge of the arm, mips and darwin decisions. That couples C to
    C++ both ways. A C rejection stops C++ from being probed at all, and a
    C++ rejection is reported as if C had rejected too. That is not
    expacted. Separate the probe, C++ sets flags that it understand now and
    the return status of check_allcflags() is C only.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/configure b/configure
index 24ac74b78e..a3c80131e4 100755
--- a/configure
+++ b/configure
@@ -1391,7 +1391,8 @@ check_objcflags(){
 }
 
 check_allcflags(){
-    check_cflags "$@" && check_cxxflags "$@"
+    check_cxxflags "$@"
+    check_cflags "$@"
 }
 
 test_ldflags(){

-- 
To stop receiving notification emails like this one, please contact
[email protected].
_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to