mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: better Sailfish/AuroraOS macros
This commit is contained in:
4
wscript
4
wscript
@@ -263,7 +263,9 @@ def configure(conf):
|
||||
linkflags.append('-lc')
|
||||
elif conf.env.SAILFISH != None:
|
||||
# TODO: enable XASH_MOBILE_PLATFORM
|
||||
conf.env.append_unique('DEFINES', 'XASH_SAILFISH=%s' % conf.env.SAILFISH)
|
||||
conf.define('XASH_SAILFISH', 1)
|
||||
if conf.env.SAILFISH == "aurora":
|
||||
conf.define('XASH_AURORAOS', 1)
|
||||
|
||||
# Do not warn us about bug in SDL_Audio headers
|
||||
conf.env.append_unique('CFLAGS', ['-Wno-attributes'])
|
||||
|
||||
Reference in New Issue
Block a user