fix: use system installed objcopy to copy debug symbols (#23835)
This commit is contained in:
parent
e8ea007104
commit
b086197968
3 changed files with 13 additions and 31 deletions
|
@ -268,14 +268,3 @@ def get_buildtools_executable(name):
|
|||
if sys.platform == 'win32':
|
||||
path += '.exe'
|
||||
return path
|
||||
|
||||
def get_objcopy_path(target_cpu):
|
||||
if PLATFORM != 'linux':
|
||||
raise Exception(
|
||||
"get_objcopy_path: unexpected platform '{0}'".format(PLATFORM))
|
||||
|
||||
if target_cpu != 'x64':
|
||||
raise Exception(
|
||||
"get_objcopy_path: unexpected target cpu '{0}'".format(target_cpu))
|
||||
return os.path.join(SRC_DIR, 'third_party', 'binutils', 'Linux_x64',
|
||||
'Release', 'bin', 'objcopy')
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue