mirror of
https://github.com/godotengine/godot.git
synced 2024-11-27 09:16:35 +08:00
Merge pull request #3363 from mrezai/fix-2189
Fix 32 bit windows export crash
This commit is contained in:
commit
4081829923
@ -339,7 +339,13 @@ def configure(env):
|
||||
|
||||
if (env["target"]=="release"):
|
||||
|
||||
env.Append(CCFLAGS=['-O3','-ffast-math','-fomit-frame-pointer','-msse2'])
|
||||
env.Append(CCFLAGS=['-ffast-math','-fomit-frame-pointer','-msse2'])
|
||||
|
||||
if (env["bits"]=="64"):
|
||||
env.Append(CCFLAGS=['-O3'])
|
||||
else:
|
||||
env.Append(CCFLAGS=['-O2'])
|
||||
|
||||
env.Append(LINKFLAGS=['-Wl,--subsystem,windows'])
|
||||
|
||||
elif (env["target"]=="release_debug"):
|
||||
@ -382,7 +388,7 @@ def configure(env):
|
||||
|
||||
#'d3dx9d'
|
||||
env.Append(CPPFLAGS=['-DMINGW_ENABLED'])
|
||||
env.Append(LINKFLAGS=['-g'])
|
||||
#env.Append(LINKFLAGS=['-g'])
|
||||
|
||||
# resrc
|
||||
env['is_mingw']=True
|
||||
|
Loading…
Reference in New Issue
Block a user