diff options
author | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-13 13:09:48 +0200 |
---|---|---|
committer | Boris Kolpackov <boris@codesynthesis.com> | 2023-06-13 13:09:48 +0200 |
commit | daaae030ee13d02b6f9e72a0fa41d6e53d1228ce (patch) | |
tree | f43d30e531e4161105301898800b1b421f39735b /libz/libz/buildfile | |
parent | 1f73f1712c8d04a286c6e61ef13c2469f655010f (diff) |
Fix 2
Diffstat (limited to 'libz/libz/buildfile')
-rw-r--r-- | libz/libz/buildfile | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/libz/libz/buildfile b/libz/libz/buildfile index d2660d0..3851db4 100644 --- a/libz/libz/buildfile +++ b/libz/libz/buildfile @@ -63,7 +63,8 @@ switch $c.class if ($c.id == 'clang') { - c.coptions += -Wno-deprecated-non-prototype + if ($c.version.major >= 15) + c.coptions += -Wno-deprecated-non-prototype # Disable the Clang targeting MSVC warnings. # |