Debian Codegraph @

platform/linuxbsd/platform_linuxbsd_builders.py

raw symbols SCIP
1 """Functions used to generate source files during build time"""
2
3 import os
4
5
6 def make_debug_linuxbsd(target, source, env):
7 dst = str(target[0])
8 os.system('objcopy --only-keep-debug "{0}" "{0}.debugsymbols"'.format(dst))
9 os.system('strip --strip-debug --strip-unneeded "{0}"'.format(dst))
10 os.system('objcopy --add-gnu-debuglink="{0}.debugsymbols" "{0}"'.format(dst))