diff options
author | Filipe Rinaldi <filipe.rinaldi@gmail.com> | 2022-12-26 20:31:25 +0000 |
---|---|---|
committer | Filipe Rinaldi <filipe.rinaldi@gmail.com> | 2022-12-26 20:39:27 +0000 |
commit | 2841144096e046b57214d4be8b7ef17f0077414d (patch) | |
tree | b935f9bc33f7d02699df1894fccd9d4421656632 /modules/raycast | |
parent | 7e1bd3f95a10acf60e07a8a6518cc80bfee6fbbf (diff) |
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 <filipe.rinaldi@gmail.com>
Diffstat (limited to 'modules/raycast')
-rw-r--r-- | modules/raycast/SCsub | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/modules/raycast/SCsub b/modules/raycast/SCsub index 37c8a95905..209ebab388 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( |