Merge pull request #70684 from filiperinaldi/fix_arm64_build_clang
Fix arm64 build when using Clang
This commit is contained in:
commit
2118f8e8a3
|
@ -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(
|
||||
|
|
Loading…
Reference in New Issue