aboutsummaryrefslogtreecommitdiff
path: root/build/root.build
diff options
context:
space:
mode:
Diffstat (limited to 'build/root.build')
-rw-r--r--build/root.build4
1 files changed, 3 insertions, 1 deletions
diff --git a/build/root.build b/build/root.build
index fed56db..badb530 100644
--- a/build/root.build
+++ b/build/root.build
@@ -1,5 +1,4 @@
# file : build/root.build
-# copyright : Copyright (c) 2014-2019 Code Synthesis Ltd
# license : MIT; see accompanying LICENSE file
cxx.std = latest
@@ -11,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"