Skip to content

Commit

Permalink
Merge remote-tracking branch 'remotes/v-sekai-godot/vsk-llvm-pdb-4.4'…
Browse files Browse the repository at this point in the history
… into groups-staging-4.4
  • Loading branch information
fire committed Dec 9, 2024
2 parents 3d57955 + d92fb8f commit 8990a29
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions SConstruct
Original file line number Diff line number Diff line change
Expand Up @@ -748,6 +748,9 @@ else:
# Remap absolute paths to relative paths for debug symbols.
project_path = Dir("#").abspath
env.Append(CCFLAGS=[f"-ffile-prefix-map={project_path}=."])
if env["platform"] == "windows" and env["use_mingw"] and ["use_llvm"]:
env.Append(LINKFLAGS=["-Wl,-pdb="])
env.Append(CCFLAGS=["-gcodeview"])
else:
if methods.is_apple_clang(env):
# Apple Clang, its linker doesn't like -s.
Expand Down

0 comments on commit 8990a29

Please sign in to comment.