diff options
author | Karen Arutyunov <karen@codesynthesis.com> | 2021-04-20 20:51:03 +0300 |
---|---|---|
committer | Karen Arutyunov <karen@codesynthesis.com> | 2021-04-20 20:51:03 +0300 |
commit | 083eb03a2ea202b93e98a78c55497ac5caa9cc43 (patch) | |
tree | 06902cfad55fe7f41ef1da37374188eff82ff6ed | |
parent | d81118dd10238f684844167f5b214dc3b2ad71a5 (diff) |
Disable bunch of bogus GCC warnings
-rw-r--r-- | build/root.build | 3 |
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" |