mirror of
https://github.com/FWGS/xash3d-fwgs.git
synced 2026-08-05 03:24:56 +08:00
wscript: remove unused --enable-emscripten
This commit is contained in:
7
wscript
7
wscript
@@ -191,9 +191,6 @@ def options(opt):
|
||||
grp.add_option('--enable-fuzzer', action = 'store_true', dest = 'ENABLE_FUZZER', default = False,
|
||||
help = 'enable building libFuzzer runner [default: %(default)s]' )
|
||||
|
||||
grp.add_option('--enable-emscripten', action = 'store_true', dest = 'ENABLE_EMSCRIPTEN', default = False,
|
||||
help = 'enable emscripten support [default: %(default)s]' )
|
||||
|
||||
for i in SUBDIRS:
|
||||
if not i.is_exists(opt):
|
||||
continue
|
||||
@@ -255,10 +252,6 @@ def configure(conf):
|
||||
conf.options.GLES3COMPAT = True
|
||||
conf.options.GL = False
|
||||
|
||||
if conf.options.ENABLE_EMSCRIPTEN:
|
||||
conf.options.GLES3COMPAT = True
|
||||
conf.options.GL = False
|
||||
|
||||
# psvita needs -fPIC set manually and static builds are incompatible with -fPIC
|
||||
enforce_pic = conf.env.DEST_OS != 'psvita' and not conf.env.STATIC_LINKING
|
||||
conf.check_pic(enforce_pic)
|
||||
|
||||
Reference in New Issue
Block a user