From c281533638dd08bb84f4f538fd8c5ae85791d034 Mon Sep 17 00:00:00 2001 From: Andrew Kelley Date: Wed, 27 Jan 2016 19:22:58 -0700 Subject: build command supports -isystem argument --- src/codegen.cpp | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'src/codegen.cpp') diff --git a/src/codegen.cpp b/src/codegen.cpp index 78592e4d09..c05dde8f69 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -32,6 +32,11 @@ CodeGen *codegen_create(Buf *root_source_dir) { return g; } +void codegen_set_clang_argv(CodeGen *g, const char **args, int len) { + g->clang_argv = args; + g->clang_argv_len = len; +} + void codegen_set_build_type(CodeGen *g, CodeGenBuildType build_type) { g->build_type = build_type; } -- cgit v1.2.3