aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
authorKaren Arutyunov <karen@codesynthesis.com>2021-04-20 20:51:03 +0300
committerKaren Arutyunov <karen@codesynthesis.com>2021-04-20 20:51:03 +0300
commit083eb03a2ea202b93e98a78c55497ac5caa9cc43 (patch)
tree06902cfad55fe7f41ef1da37374188eff82ff6ed /build/root.build
parentd81118dd10238f684844167f5b214dc3b2ad71a5 (diff)
Disable bunch of bogus GCC warnings
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build3
1 files changed, 3 insertions, 0 deletions
diff --git a/build/root.build b/build/root.build
index f572d78..badb530 100644
--- a/build/root.build
+++ b/build/root.build
@@ -10,4 +10,7 @@ ixx{*}: extension = ixx
txx{*}: extension = txx
cxx{*}: extension = cxx
+if ($cxx.id == 'gcc')
+ cxx.coptions += -Wno-maybe-uninitialized -Wno-free-nonheap-object # libbutl
+
cxx.poptions =+ "-I$out_root" "-I$src_root"