[vlc-devel] [PATCH 4/5] configure: add an option to generate PDB files when building
martin at martin.st
Thu May 16 21:40:05 CEST 2019
On Thu, 16 May 2019, Rémi Denis-Courmont wrote:
> Why are the flags cherry-picked here but systematic in contribs?
The issue is that currently, you have to specify the output filename as
part of LDFLAGS, like -Wl,-pdb,current_target.pdb. In contribs, the main
change is just adding -gcodeview (for making the compiler generate the
right kind of debug info) to CFLAGS.
(In the original patchset, there was also an extra libtool option for
making libtool pass the right -pdb parameter, but that libtool tweak was
dropped from the second iteration of the patchset.)
With https://reviews.llvm.org/D62004 in place we could avoid all the extra
changes to makefiles, and just enable it via one generic flag in LDFLAGS,
that implicitly derives the PDB output file name.
More information about the vlc-devel