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

Git pushed a commit to branch master
in repository ffmpeg.

commit 48a42b5f215a54271d212d9e388ec3b4c88194dc
Author:     Niklas Haas <[email protected]>
AuthorDate: Sat Jun 6 18:50:22 2026 +0200
Commit:     Niklas Haas <[email protected]>
CommitDate: Mon Jun 8 18:24:45 2026 +0200

    configure: add -P to $CC_E flag
    
    This suppresses the addition of #line directives in the preprocessed output,
    which is what we want when we're invoking the hostcc just to preprocess some
    files. (Currently, this variable is only used for configure-internal checks
    anyways, but I want to use it to preprocess a NASM file)
    
    On MSVC/Intel, /EP is the equivalent syntax, though we use -EP instead for
    consistency.
    
    Signed-off-by: Niklas Haas <[email protected]>
---
 configure | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure b/configure
index f30f4bfa42..ccb0ab9420 100755
--- a/configure
+++ b/configure
@@ -4521,19 +4521,19 @@ ldflags_filter=echo
 AS_C='-c'
 AS_O='-o $@'
 CC_C='-c'
-CC_E='-E -o $@'
+CC_E='-E -P -o $@'
 CC_O='-o $@'
 CXX_C='-c'
 CXX_O='-o $@'
 OBJCC_C='-c'
-OBJCC_E='-E -o $@'
+OBJCC_E='-E -P -o $@'
 OBJCC_O='-o $@'
 X86ASM_O='-o $@'
 LD_O='-o $@'
 LD_LIB='-l%'
 LD_PATH='-L'
 HOSTCC_C='-c'
-HOSTCC_E='-E -o $@'
+HOSTCC_E='-E -P -o $@'
 HOSTCC_O='-o $@'
 HOSTLD_O='-o $@'
 GLSLC_O='-o $@'
@@ -5434,7 +5434,7 @@ probe_cc(){
             _ld_o='-Fe$@'
         fi
         _cc_o='-Fo$@'
-        _cc_e='-P'
+        _cc_e='-P -EP'
         _flags_filter=icl_flags
         _ld_lib='%.lib'
         _ld_path='-libpath:'
@@ -5484,7 +5484,7 @@ probe_cc(){
             _flags_filter=msvc_flags
         fi
         _cc_o='-Fo$@'
-        _cc_e='-P -Fi$@'
+        _cc_e='-P -EP -Fi$@'
         _ld_lib='%.lib'
         _ld_path='-libpath:'
         _flags='-nologo'

_______________________________________________
ffmpeg-cvslog mailing list -- [email protected]
To unsubscribe send an email to [email protected]

Reply via email to