Partially revert "Reenable .pdb building on GCC (for MINGW64/UCRT64 sake)"

This partially reverts b705bfb660

.pdb building is still broken on GCC (not on babl anymore but
while building script-fu).
This commit is contained in:
Bruno Lopes 2026-03-17 16:26:24 -03:00
parent 27af187e02
commit 59d0e82850

View file

@ -355,7 +355,7 @@ if buildtype == 'debug' or buildtype == 'debugoptimized'
elif cc.get_argument_syntax() == 'msvc'
# CodeView symbols for DIA or DbgHelp debuggers and LLDB on Windows
debugging_format = 'Native'
elif platform_windows and get_option('win-debugging') == 'native' and cc.has_argument('-gcodeview') and cc.has_link_argument('-Wl,--pdb=')
elif platform_windows and get_option('win-debugging') == 'native' and cc.has_argument('-gcodeview') and cc.has_link_argument('-Wl,--pdb=') and cc.get_id() == 'clang'
# CodeView symbols for DIA or DbgHelp debuggers and LLDB on Windows
debugging_format = 'native'
compiler_args += '-gcodeview'