Merge pull request #14734 from hpvb/rename-debug-symbols
Rename the debug symbol files to .debugsymbols
This commit is contained in:
commit
83b1556183
@ -9,9 +9,9 @@ def make_debug_mingw(target, source, env):
|
|||||||
mingw_prefix = env["mingw_prefix_32"]
|
mingw_prefix = env["mingw_prefix_32"]
|
||||||
else:
|
else:
|
||||||
mingw_prefix = env["mingw_prefix_64"]
|
mingw_prefix = env["mingw_prefix_64"]
|
||||||
os.system(mingw_prefix + 'objcopy --only-keep-debug %s %s.debug' % (target[0], target[0]))
|
os.system(mingw_prefix + 'objcopy --only-keep-debug %s %s.debugsymbols' % (target[0], target[0]))
|
||||||
os.system(mingw_prefix + 'strip --strip-debug --strip-unneeded %s' % (target[0]))
|
os.system(mingw_prefix + 'strip --strip-debug --strip-unneeded %s' % (target[0]))
|
||||||
os.system(mingw_prefix + 'objcopy --add-gnu-debuglink=%s.debug %s' % (target[0], target[0]))
|
os.system(mingw_prefix + 'objcopy --add-gnu-debuglink=%s.debugsymbols %s' % (target[0], target[0]))
|
||||||
|
|
||||||
common_win = [
|
common_win = [
|
||||||
"context_gl_win.cpp",
|
"context_gl_win.cpp",
|
||||||
|
@ -4,9 +4,9 @@ import os
|
|||||||
Import('env')
|
Import('env')
|
||||||
|
|
||||||
def make_debug(target, source, env):
|
def make_debug(target, source, env):
|
||||||
os.system('objcopy --only-keep-debug %s %s.debug' % (target[0], target[0]))
|
os.system('objcopy --only-keep-debug %s %s.debugsymbols' % (target[0], target[0]))
|
||||||
os.system('strip --strip-debug --strip-unneeded %s' % (target[0]))
|
os.system('strip --strip-debug --strip-unneeded %s' % (target[0]))
|
||||||
os.system('objcopy --add-gnu-debuglink=%s.debug %s' % (target[0], target[0]))
|
os.system('objcopy --add-gnu-debuglink=%s.debugsymbols %s' % (target[0], target[0]))
|
||||||
|
|
||||||
common_x11 = [
|
common_x11 = [
|
||||||
"context_gl_x11.cpp",
|
"context_gl_x11.cpp",
|
||||||
|
Loading…
Reference in New Issue
Block a user