Browse Source

Merge pull request #70684 from filiperinaldi/fix_arm64_build_clang

Fix arm64 build when using Clang
Rémi Verschelde 2 năm trước cách đây
mục cha
commit
2118f8e8a3
1 tập tin đã thay đổi với 1 bổ sung1 xóa
  1. 1 1
      modules/raycast/SCsub

+ 1 - 1
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(