Per our supported platform policy, oldest distros we target
have the following CLang available:

          Fedora 43: 21.1.2
    CentOS Stream 9: 22.1.8
          Debian 13: 17.0.6
       Ubuntu 24.04: 20.1.2
            OpenBSD: 22.1.8
            FreeBSD: 23.1.0
             NetBSD: 21.1.8
 OpenSUSE Leap 16.0: 19.1.7

Thus Debian is our prime constraint and we can move from 10.0
to 17.0 as our min version.

Reviewed-by: Marc-André Lureau <[email protected]>
Reviewed-by: Pierrick Bouvier <[email protected]>
Signed-off-by: Daniel P. Berrangé <[email protected]>
---
 meson.build | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/meson.build b/meson.build
index ff181e7021..fc1bb685ab 100644
--- a/meson.build
+++ b/meson.build
@@ -334,15 +334,15 @@ foreach lang : all_languages
       #  error You need at least XCode Clang v17.0 to compile QEMU
       # endif
       #else
-      # if __clang_major__ < 10
-      #  error You need at least Clang v10.0 to compile QEMU
+      # if __clang_major__ < 17
+      #  error You need at least Clang v17.0 to compile QEMU
       # endif
       #endif''')
     # ok
   elif compiler.get_id() == 'emscripten'
     # ok
   else
-    error('You either need GCC v10.4 or Clang v10.0 (or XCode Clang v17.0) to 
compile QEMU')
+    error('You either need GCC v10.4 or Clang v17.0 (or XCode Clang v17.0) to 
compile QEMU')
   endif
 endforeach
 
-- 
2.55.0


Reply via email to