From 0ee5ff3aad2fba4ab8fba59dda28bf075736691c Mon Sep 17 00:00:00 2001 From: mittorn Date: Wed, 12 Feb 2020 17:39:42 +0700 Subject: [PATCH] waifulib/owcc: add -xx to ignore default includes --- scripts/waifulib/owcc.py | 2 ++ 1 file changed, 2 insertions(+) diff --git a/scripts/waifulib/owcc.py b/scripts/waifulib/owcc.py index 73b5827a..efee4131 100755 --- a/scripts/waifulib/owcc.py +++ b/scripts/waifulib/owcc.py @@ -116,7 +116,9 @@ def configure(conf): conf.owcc_common_flags() conf.cc_load_tools() conf.cc_add_flags() + conf.env.append_unique('CFLAGS','-Wc,-xx') conf.cxx_load_tools() conf.cxx_add_flags() + conf.env.append_unique('CXXFLAGS','-Wc,-xx') conf.link_add_flags() conf.owcc_detect_platform()