scripts: waifulib: disable -no-canonical-prefixes for new NDKs

This commit is contained in:
Alibek Omarov 2021-12-15 17:37:31 +03:00
parent 960a8959d5
commit 000c594596
1 changed files with 3 additions and 3 deletions

View File

@ -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':