mirror of
https://github.com/YGGverse/xash3d-fwgs.git
synced 2025-01-29 16:24:16 +00:00
waf/xcompile: gnu hash on android confuses old linkers
This commit is contained in:
parent
d9290f2e03
commit
a5e3a74e93
@ -281,7 +281,7 @@ class Android:
|
|||||||
cflags += fixup_host_clang_with_old_ndk()
|
cflags += fixup_host_clang_with_old_ndk()
|
||||||
|
|
||||||
# ARMv5 support
|
# ARMv5 support
|
||||||
cflags += ['-march=armv5te', '-mtune=xscale', '-msoft-float']
|
cflags += ['-march=armv5te', '-msoft-float']
|
||||||
elif self.is_x86():
|
elif self.is_x86():
|
||||||
cflags += ['-mtune=atom', '-march=atom', '-mssse3', '-mfpmath=sse', '-DVECTORIZE_SINCOS', '-DHAVE_EFFICIENT_UNALIGNED_ACCESS']
|
cflags += ['-mtune=atom', '-march=atom', '-mssse3', '-mfpmath=sse', '-DVECTORIZE_SINCOS', '-DHAVE_EFFICIENT_UNALIGNED_ACCESS']
|
||||||
return cflags
|
return cflags
|
||||||
@ -300,7 +300,7 @@ class Android:
|
|||||||
if self.is_clang() or self.is_host():
|
if self.is_clang() or self.is_host():
|
||||||
linkflags += ['-fuse-ld=lld']
|
linkflags += ['-fuse-ld=lld']
|
||||||
|
|
||||||
linkflags += ['-Wl,--hash-style=both','-Wl,--no-undefined']
|
linkflags += ['-Wl,--hash-style=sysv', '-Wl,--no-undefined', '-no-canonical-prefixes']
|
||||||
return linkflags
|
return linkflags
|
||||||
|
|
||||||
def ldflags(self):
|
def ldflags(self):
|
||||||
|
Loading…
x
Reference in New Issue
Block a user