scripts: waifulib: disable -no-canonical-prefixes for new NDKs
This commit is contained in:
parent
960a8959d5
commit
000c594596
1 changed files with 3 additions and 3 deletions
|
@ -322,8 +322,9 @@ class Android:
|
|||
|
||||
if self.is_clang() or self.is_host():
|
||||
linkflags += ['-fuse-ld=lld']
|
||||
else: linkflags += ['-no-canonical-prefixes']
|
||||
|
||||
linkflags += ['-Wl,--hash-style=sysv', '-Wl,--no-undefined', '-no-canonical-prefixes']
|
||||
linkflags += ['-Wl,--hash-style=sysv', '-Wl,--no-undefined']
|
||||
return linkflags
|
||||
|
||||
def ldflags(self):
|
||||
|
@ -332,10 +333,9 @@ class Android:
|
|||
if self.ndk_rev < 23:
|
||||
ldflags += ['-lgcc']
|
||||
|
||||
ldflags += ['-no-canonical-prefixes']
|
||||
|
||||
if self.is_clang() or self.is_host():
|
||||
ldflags += ['-stdlib=libstdc++']
|
||||
else: ldflags += ['-no-canonical-prefixes']
|
||||
|
||||
if self.is_arm():
|
||||
if self.arch == 'armeabi-v7a':
|
||||
|
|
Loading…
Add table
Reference in a new issue