Browse Source

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

pull/2/head
Alibek Omarov 3 years ago
parent
commit
000c594596
  1. 6
      scripts/waifulib/xcompile.py

6
scripts/waifulib/xcompile.py

@ -322,8 +322,9 @@ class Android: @@ -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: @@ -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…
Cancel
Save