浏览代码

Merge pull request #70684 from filiperinaldi/fix_arm64_build_clang

Fix arm64 build when using Clang
Rémi Verschelde 2 年之前
父节点
当前提交
2118f8e8a3
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      modules/raycast/SCsub

+ 1 - 1
modules/raycast/SCsub

@@ -96,7 +96,7 @@ if env["builtin_embree"]:
 
 
     if not env.msvc:
     if not env.msvc:
         # Flags synced with upstream gnu.cmake.
         # 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(CXXFLAGS=["-flax-vector-conversions"])
 
 
         env_thirdparty.Append(
         env_thirdparty.Append(