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

Git pushed a commit to branch master
in repository ffmpeg.

The following commit(s) were added to refs/heads/master by this push:
     new 0f600cbc16 configure: enable nasm debug information also for non-ELF 
targets
0f600cbc16 is described below

commit 0f600cbc16b7903703b47d23981b636c94a41c71
Author:     Kacper Michajłow <[email protected]>
AuthorDate: Sun Mar 15 10:42:45 2026 +0100
Commit:     Kacper Michajłow <[email protected]>
CommitDate: Thu Mar 26 00:25:29 2026 +0000

    configure: enable nasm debug information also for non-ELF targets
    
    The default NASM selection of debug information formats should cover all
    cases nicely. See `nasm -h -F` for the default and supported formats.
    
    This commit allows emitting debug information for macho{32,64} (DWARF)
    and win{32,64} (CodeView), where previously only ELF targets would
    get debug information.
    
    Signed-off-by: Kacper Michajłow <[email protected]>
---
 configure | 5 +----
 1 file changed, 1 insertion(+), 4 deletions(-)

diff --git a/configure b/configure
index 8f9fb04115..fb1baf2eac 100755
--- a/configure
+++ b/configure
@@ -6780,7 +6780,6 @@ EOF
         x86asmexe_probe=$1
         if test_cmd $x86asmexe_probe -v; then
             x86asmexe=$x86asmexe_probe
-            x86asm_debug="-g -F dwarf"
             X86ASM_DEPFLAGS='-MD $(@:.o=.d)'
         fi
         check_x86asm x86asm "movbe ecx, [5]"
@@ -6794,9 +6793,7 @@ EOF
         disabled x86asm && die "nasm not found or too old. Please 
install/update nasm or use --disable-x86asm for a build without hand-optimized 
assembly."
         X86ASMFLAGS="-f $objformat"
         test -n "$extern_prefix"  && append X86ASMFLAGS "-DPREFIX"
-        case "$objformat" in
-            elf*) enabled debug && append X86ASMFLAGS $x86asm_debug ;;
-        esac
+        enabled debug && append X86ASMFLAGS "-g"
 
         enabled avx512    && check_x86asm avx512_external    "vmovdqa32 
[eax]{k1}{z}, zmm0"
         enabled avx512icl && check_x86asm avx512icl_external "vpdpwssds 
zmm31{k1}{z}, zmm29, zmm28"

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

Reply via email to