aports/community/dotnet8-runtime/runtime_clang-20.patch
2025-05-08 03:59:32 +00:00

13 lines
867 B
Diff

diff --git a/src/runtime/eng/common/native/init-compiler.sh.orig b/src/runtime/eng/common/native/init-compiler.sh
index 2d5660642b8..d496fb663b8 100644
--- a/src/runtime/eng/common/native/init-compiler.sh.orig
+++ b/src/runtime/eng/common/native/init-compiler.sh
@@ -63,7 +63,7 @@ if [ -z "$CLR_CC" ]; then
# Set default versions
if [ -z "$majorVersion" ]; then
# note: gcc (all versions) and clang versions higher than 6 do not have minor version in file name, if it is zero.
- if [ "$compiler" = "clang" ]; then versions="18 17 16 15 14 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5"
+ if [ "$compiler" = "clang" ]; then versions="20 19 18 17 16 15 14 13 12 11 10 9 8 7 6.0 5.0 4.0 3.9 3.8 3.7 3.6 3.5"
elif [ "$compiler" = "gcc" ]; then versions="13 12 11 10 9 8 7 6 5 4.9"; fi
for version in $versions; do