Merge pull request #70684 from filiperinaldi/fix_arm64_build_clang

Fix arm64 build when using Clang
This commit is contained in:
Rémi Verschelde 2023-01-16 09:15:44 +01:00
commit 2118f8e8a3
No known key found for this signature in database
GPG key ID: C3336907360768E1

View file

@ -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(