Skip to content
Snippets Groups Projects
Commit a79b6193 authored by Zuzana Baranová's avatar Zuzana Baranová
Browse files

CC: Add /builtin to include paths in CC1 instead of Native.

parent bc8c23ce
No related branches found
No related tags found
No related merge requests found
......@@ -146,6 +146,7 @@ namespace divine::cc
"-fdiagnostics-show-option",
"-fcolor-diagnostics",
// "-o", "test.o",
"-isystem", "/builtin"
};
bool exceptions = type == FileType::Cpp || type == FileType::CppPreprocessed;
......
......@@ -38,7 +38,6 @@ namespace divine::cc
driver->commonFlags.begin(),
driver->commonFlags.end() );
_clang.allowIncludePath( "/" );
_po.opts.insert( _po.opts.end(), { "-isystem", "/builtin" } );
}
int Native::compile_files()
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment