diff options
| author | Andrew Kelley <superjoe30@gmail.com> | 2016-01-27 19:22:58 -0700 |
|---|---|---|
| committer | Andrew Kelley <superjoe30@gmail.com> | 2016-01-27 19:22:58 -0700 |
| commit | c281533638dd08bb84f4f538fd8c5ae85791d034 (patch) | |
| tree | 94ed711ef254a4b35d729dd944c1da2d0f833e63 /src/codegen.cpp | |
| parent | 69d4f55fbf816bf417dfab9c0e7525971922f166 (diff) | |
| download | zig-c281533638dd08bb84f4f538fd8c5ae85791d034.tar.gz zig-c281533638dd08bb84f4f538fd8c5ae85791d034.zip | |
build command supports -isystem argument
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 5 |
1 files changed, 5 insertions, 0 deletions
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; } |
