bits
was removed from Godot's build system (godotengine/godot#55778)
This commit is contained in:
parent
217a31b509
commit
bf10c137ac
4
thirdparty/fast_noise_2/SConscript
vendored
4
thirdparty/fast_noise_2/SConscript
vendored
@ -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"])
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user