You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 8770e0e
Browse filesBrowse the repository at this point in the historyBrowse files
Copy file name to clipboardExpand all lines: eng/native/configurecompiler.cmake
+7Lines changed: 7 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -670,6 +670,13 @@ if (CLR_CMAKE_HOST_WIN32)
670
670
endif()
671
671
672
672
else (CLR_CMAKE_HOST_WIN32)
673
+
# This is a workaround for upstream issue: https://gitlab.kitware.com/cmake/cmake/-/issues/22995.
674
+
#
675
+
# In Clang.cmake, the decision to use single or double hyphen for target and gcc-toolchain
676
+
# is made based on CMAKE_${LANG}_COMPILER_VERSION, but CMAKE_ASM_COMPILER_VERSION is empty
677
+
# so it picks up single hyphen options, which new clang versions don't recognize.
678
+
set (CMAKE_ASM_COMPILER_VERSION"${CMAKE_C_COMPILER_VERSION}")
0 commit comments