From 2841144096e046b57214d4be8b7ef17f0077414d Mon Sep 17 00:00:00 2001 From: Filipe Rinaldi Date: Mon, 26 Dec 2022 20:31:25 +0000 Subject: [PATCH] Fix arm64 build when using Clang The commit b5a8055b5c should target GCC builds only as -flax-vector-conversions has different behaviour in Clang and is currently making the build fail. Signed-off-by: Filipe Rinaldi --- modules/raycast/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/raycast/SCsub b/modules/raycast/SCsub index 37c8a95905fe..209ebab388dd 100644 --- a/modules/raycast/SCsub +++ b/modules/raycast/SCsub @@ -96,7 +96,7 @@ if env["builtin_embree"]: if not env.msvc: # Flags synced with upstream gnu.cmake. - if env["arch"] == "arm64" and env["platform"] == "linuxbsd": + if env["arch"] == "arm64" and env["platform"] == "linuxbsd" and not env["use_llvm"]: env_thirdparty.Append(CXXFLAGS=["-flax-vector-conversions"]) env_thirdparty.Append(