aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--build/root.build2
1 files changed, 2 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index b6e7004..a6502cf 100644
--- a/build/root.build
+++ b/build/root.build
@@ -17,6 +17,8 @@ if ($cxx.class == 'msvc')
cxx.coptions += /wd4251 /wd4275 /wd4800
elif ($cxx.id == 'gcc')
cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl
+elif ($cxx.id.type == 'clang' && $cxx.version.major >= 15)
+ cxx.coptions += -Wno-unqualified-std-cast-call
# Work around issue with sanitizers messing up rpath (see issue #1219).
#