Skip to content

Commit

Permalink
wscipt: fix cant find env cache togl
Browse files Browse the repository at this point in the history
  • Loading branch information
nillerusr committed Nov 8, 2023
1 parent abb470a commit 93c20b3
Showing 1 changed file with 7 additions and 7 deletions.
14 changes: 7 additions & 7 deletions wscript
Original file line number Diff line number Diff line change
Expand Up @@ -451,6 +451,13 @@ def configure(conf):
elif conf.env.DEST_OS == 'darwin':
conf.load('mm_hook')

conf.env.BIT32_MANDATORY = conf.options.TARGET32
if conf.env.BIT32_MANDATORY:
Logs.info('WARNING: will build engine for 32-bit target')
conf.load('force_32bit')

define_platform(conf)

if conf.env.TOGLES:
projects['game'] += ['togles']
elif conf.env.GL:
Expand All @@ -462,13 +469,6 @@ def configure(conf):
if conf.options.OPUS or conf.env.DEST_OS == 'android':
projects['game'] += ['engine/voice_codecs/opus']

conf.env.BIT32_MANDATORY = conf.options.TARGET32
if conf.env.BIT32_MANDATORY:
Logs.info('WARNING: will build engine for 32-bit target')
conf.load('force_32bit')

define_platform(conf)

if conf.options.DISABLE_WARNS:
compiler_optional_flags = ['-w']
else:
Expand Down

0 comments on commit 93c20b3

Please sign in to comment.