1
0
mirror of https://github.com/RPCS3/llvm-mirror.git synced 2025-01-31 20:51:52 +01:00

[M68k] Fixed incorrect extract-section command substitution

Fix Bug 49485 (https://bugs.llvm.org/show_bug.cgi?id=49485). Which was
caused by incorrect invocation of `extract-section.py` on Windows.
Replacing it with more general python script invocation.

Differential Revision: https://reviews.llvm.org/D98661
This commit is contained in:
Min-Yih Hsu 2021-03-15 13:47:10 -07:00
parent 422700f45c
commit eae33fdf31

View File

@ -6,7 +6,8 @@ extract_section_path = os.path.join(config.llvm_src_root,
'utils', 'extract-section.py')
config.substitutions.append(('extract-section',
extract_section_path + ' --byte-indicator --hex-width=2'))
"'%s' %s %s" % (config.python_executable,
extract_section_path, '--byte-indicator --hex-width=2')))
if not 'M68k' in config.root.targets:
config.unsupported = True