aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-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"