mirror of
https://github.com/zeldaret/ph
synced 2026-05-25 15:25:10 -04:00
Fix build errors with mangle.py
This commit is contained in:
+10
-1
@@ -20,13 +20,22 @@ args = parser.parse_args()
|
||||
|
||||
cc.extend([
|
||||
'-nolink',
|
||||
'-proc', 'arm946e',
|
||||
'-interworking',
|
||||
'-char', 'signed',
|
||||
'-msgstyle', 'gcc',
|
||||
'-dis',
|
||||
f'-I{include_dir}',
|
||||
'-DSTUBS',
|
||||
args.file
|
||||
])
|
||||
|
||||
output = subprocess.check_output(cc)
|
||||
try:
|
||||
output = subprocess.check_output(cc)
|
||||
except subprocess.CalledProcessError as e:
|
||||
print(e.stdout.decode())
|
||||
exit(1)
|
||||
|
||||
output = output.decode()
|
||||
|
||||
# print(output)
|
||||
|
||||
Reference in New Issue
Block a user