fix arm64 build on non-android platforma
This commit is contained in:
parent
ed038ee124
commit
db0bedffe0
1 changed files with 4 additions and 1 deletions
5
wscript
5
wscript
|
@ -376,7 +376,10 @@ def configure(conf):
|
||||||
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
||||||
flags += ['-mfpmath=sse']
|
flags += ['-mfpmath=sse']
|
||||||
elif conf.env.DEST_CPU in ['arm', 'aarch64']:
|
elif conf.env.DEST_CPU in ['arm', 'aarch64']:
|
||||||
flags += ['-fsigned-char', '-mfpu=neon-vfpv4']
|
flags += ['-fsigned-char']
|
||||||
|
|
||||||
|
if conf.env.DEST_CPU == 'arm':
|
||||||
|
flags += ['-mfpu=neon-vfpv4']
|
||||||
|
|
||||||
if conf.env.DEST_OS == 'freebsd':
|
if conf.env.DEST_OS == 'freebsd':
|
||||||
linkflags += ['-lexecinfo']
|
linkflags += ['-lexecinfo']
|
||||||
|
|
Loading…
Reference in a new issue