소스 검색

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 <[email protected]>
(cherry picked from commit 2841144096e046b57214d4be8b7ef17f0077414d)
Filipe Rinaldi 2 년 전
부모
커밋
45c76995dd
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      modules/raycast/SCsub

+ 1 - 1
modules/raycast/SCsub

@@ -90,7 +90,7 @@ if env["builtin_embree"]:
 
     if not env.msvc:
         # Flags synced with upstream gnu.cmake.
-        if env["arch"] == "arm64" and env["platform"] == "x11":
+        if env["arch"] == "arm64" and env["platform"] == "x11" and not env["use_llvm"]:
             env_thirdparty.Append(CXXFLAGS=["-flax-vector-conversions"])
 
         env_thirdparty.Append(