From bf10c137ac37419df5e342ee4719beea8a99a6ad Mon Sep 17 00:00:00 2001 From: Marc Gilleron Date: Fri, 26 Aug 2022 20:40:26 +0100 Subject: [PATCH] `bits` was removed from Godot's build system (godotengine/godot#55778) --- thirdparty/fast_noise_2/SConscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/thirdparty/fast_noise_2/SConscript b/thirdparty/fast_noise_2/SConscript index c69f58a4..a974d1f0 100644 --- a/thirdparty/fast_noise_2/SConscript +++ b/thirdparty/fast_noise_2/SConscript @@ -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"])