mirror of
https://github.com/curl/curl.git
synced 2026-04-14 22:31:41 +03:00
build: map Apple clang 26.4+ to llvm/clang 21.1
Ref: https://en.wikipedia.org/wiki/Xcode#Xcode_26.0_(since_version_number_change)_2 Closes #20717
This commit is contained in:
parent
baf32a5cf4
commit
92eddc1fae
2 changed files with 13 additions and 11 deletions
|
|
@ -120,7 +120,8 @@ AC_DEFUN([CURL_CHECK_COMPILER_CLANG], [
|
|||
compiler_num=`(expr $clangvhi "*" 100 + $clangvlo) 2>/dev/null`
|
||||
if test "$appleclang" = "1" && test "$oldapple" = "0"; then
|
||||
dnl Starting with Xcode 7 / clang 3.7, Apple clang does not tell its upstream version
|
||||
if test "$compiler_num" -ge '1700'; then compiler_num='1901'
|
||||
if test "$compiler_num" -ge '2604'; then compiler_num='2101'
|
||||
elif test "$compiler_num" -ge '1700'; then compiler_num='1901'
|
||||
elif test "$compiler_num" -ge '1600'; then compiler_num='1700'
|
||||
elif test "$compiler_num" -ge '1500'; then compiler_num='1600'
|
||||
elif test "$compiler_num" -ge '1400'; then compiler_num='1400'
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue