fix arm64 build on non-android platforma

This commit is contained in:
nillerusr 2023-03-11 23:51:59 +03:00 committed by GitHub
parent 5e6e7503bb
commit 9008da4f43
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -376,7 +376,10 @@ def configure(conf):
if conf.env.DEST_CPU in ['x86', 'x86_64']:
flags += ['-mfpmath=sse']
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':
linkflags += ['-lexecinfo']