From 45c76995dd490427dce254af46d704ae343dba40 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 (cherry picked from commit 2841144096e046b57214d4be8b7ef17f0077414d) --- modules/raycast/SCsub | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/raycast/SCsub b/modules/raycast/SCsub index 13cbd4f3933..dcade4b520c 100644 --- a/modules/raycast/SCsub +++ b/modules/raycast/SCsub @@ -90,7 +90,7 @@ if env["builtin_embree"]: if not env.msvc: # Flags synced with upstream gnu.cmake. - if env["arch"] == "arm64" and env["platform"] == "x11": + if env["arch"] == "arm64" and env["platform"] == "x11" and not env["use_llvm"]: env_thirdparty.Append(CXXFLAGS=["-flax-vector-conversions"]) env_thirdparty.Append(