Skip to content
Snippets Groups Projects
Commit 2c2eb681 authored by Steve Lhomme's avatar Steve Lhomme
Browse files

package/win32: enable PDB for contrib binaries

This way it's enabled the same way for all the code we build.
parent 00853756
No related branches found
No related tags found
1 merge request!6256package/win32: enable PDB for contrib binaries
Pipeline #532035 passed with stages
in 53 minutes and 51 seconds
......@@ -343,11 +343,12 @@ info "Building contribs"
echo $PATH
mkdir -p contrib/contrib-$SHORTARCH && cd contrib/contrib-$SHORTARCH
if [ ! -z "$WITH_PDB" ]; then
if [ -n "$WITH_PDB" ]; then
CONTRIBFLAGS="$CONTRIBFLAGS --enable-pdb"
VLC_CFLAGS="$VLC_CFLAGS --start-no-unused-arguments -gcodeview --end-no-unused-arguments"
VLC_CXXFLAGS="$VLC_CXXFLAGS --start-no-unused-arguments -gcodeview --end-no-unused-arguments"
if [ ! -z "$PDB_MAP" ]; then
VLC_CFLAGS="$VLC_CFLAGS --start-no-unused-arguments -g -gcodeview --end-no-unused-arguments"
VLC_CXXFLAGS="$VLC_CXXFLAGS --start-no-unused-arguments -g -gcodeview --end-no-unused-arguments"
VLC_LDFLAGS="$VLC_LDFLAGS --start-no-unused-arguments -Wl,-pdb= --end-no-unused-arguments"
if [ -n "$PDB_MAP" ]; then
VLC_CFLAGS="$VLC_CFLAGS -fdebug-prefix-map='$VLC_ROOT_PATH'='$PDB_MAP'"
VLC_CXXFLAGS="$VLC_CXXFLAGS -fdebug-prefix-map='$VLC_ROOT_PATH'='$PDB_MAP'"
fi
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment