Skip to content

Commit 2d8ed7e

Browse files
authoredMay 2, 2024··
Recognize gcc 14 (#14747)
1 parent be93330 commit 2d8ed7e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed
 

‎eng/common/native/init-compiler.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ if [ -z "$CLR_CC" ]; then
6464
if [ -z "$majorVersion" ]; then
6565
# note: gcc (all versions) and clang versions higher than 6 do not have minor version in file name, if it is zero.
6666
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"
67-
elif [ "$compiler" = "gcc" ]; then versions="13 12 11 10 9 8 7 6 5 4.9"; fi
67+
elif [ "$compiler" = "gcc" ]; then versions="14 13 12 11 10 9 8 7 6 5 4.9"; fi
6868

6969
for version in $versions; do
7070
_major="${version%%.*}"

0 commit comments

Comments
 (0)
Please sign in to comment.