`bits` was removed from Godot's build system (godotengine/godot#55778)

master
Marc Gilleron 2022-08-26 20:40:26 +01:00
parent 217a31b509
commit bf10c137ac
1 changed files with 2 additions and 2 deletions

View File

@ -70,7 +70,7 @@ env_fn2_arm = env_fn2.Clone()
# TODO NEON?
if env.msvc:
if env["bits"] == "32":
if env["arch"] == "x86_32":
# MSVC/64 warns:
# ignoring unknown option "/arch:SSE2" as 64 bit already has SSE2 built in
env_fn2_scalar.Append(CCFLAGS=["/arch:SSE"])
@ -87,7 +87,7 @@ else: # Clang, GCC, AppleClang
# TODO The Cmake build script still has a big `if(MSVC)` in that section.
# what does it mean?
if env["bits"] == "32":
if env["arch"] == "x86_32":
env_fn2_scalar.Append(CCFLAGS=["-msse"])
env_fn2_sse2.Append(CCFLAGS=["-msse2"])