mirror of
https://github.com/nillerusr/source-engine.git
synced 2026-08-07 17:29:36 +00:00
wscript: fix arm build
This commit is contained in:
@@ -370,13 +370,13 @@ def configure(conf):
|
||||
]
|
||||
|
||||
flags += ['-funwind-tables', '-fvisibility=default']
|
||||
elif conf.env.COMPILER_CC != 'msvc' and conf.env.DEST_OS != 'darwin':
|
||||
flags += ['-march=native']
|
||||
elif conf.env.COMPILER_CC != 'msvc' and conf.env.DEST_OS != 'darwin' and conf.env.DEST_CPU in ['x86', 'x86_64']:
|
||||
flags += ['-march=core2']
|
||||
|
||||
if conf.env.DEST_CPU in ['x86', 'x86_64']:
|
||||
flags += ['-mfpmath=sse']
|
||||
elif conf.env.DEST_CPU in ['arm', 'aarch64']:
|
||||
flags += ['-fsigned-char']
|
||||
flags += ['-fsigned-char', '-mfpu=neon-vfpv4']
|
||||
|
||||
if conf.env.DEST_OS == 'freebsd':
|
||||
linkflags += ['-lexecinfo']
|
||||
|
||||
Reference in New Issue
Block a user