mirror of
https://github.com/topjohnwu/Magisk.git
synced 2024-12-22 07:57:39 +00:00
Fix bug in compiling elf_cleaner with g++
Signed-off-by: zivmc <zivmc@users.noreply.github.com>
This commit is contained in:
parent
9820296e92
commit
fef2da3c0b
2
build.py
2
build.py
@ -172,7 +172,7 @@ def clean_elf():
|
||||
else:
|
||||
elf_cleaner = os.path.join('native', 'out', 'elf-cleaner')
|
||||
if not os.path.exists(elf_cleaner):
|
||||
execv(['g++', 'tools/termux-elf-cleaner/termux-elf-cleaner.cpp',
|
||||
execv(['g++', '-std=c++11', 'tools/termux-elf-cleaner/termux-elf-cleaner.cpp',
|
||||
'-o', elf_cleaner])
|
||||
args = [elf_cleaner]
|
||||
args.extend(os.path.join('native', 'out', arch, 'magisk') for arch in archs + arch64)
|
||||
|
Loading…
x
Reference in New Issue
Block a user