zig

fork of https://codeberg.org/ziglang/zig
Log | Files | Refs | README | LICENSE

commit 071ca00574df355a76fd8e6b74f8fee65e934bdd (tree)
parent 229323e13a074e94ef8a58409c81cfd9ac807dd8
Author: Andrew Kelley <andrew@ziglang.org>
Date:   Sun,  8 Sep 2019 15:09:51 -0400

Merge branch 'gustavolsson-clang-frameworks-dir'

Diffstat:
Msrc/codegen.cpp | 5+++++
1 file changed, 5 insertions(+), 0 deletions(-)

diff --git a/src/codegen.cpp b/src/codegen.cpp @@ -8774,6 +8774,11 @@ void add_cc_args(CodeGen *g, ZigList<const char *> &args, const char *out_dep_pa } } + for (size_t i = 0; i < g->framework_dirs.length; i += 1) { + args.append("-iframework"); + args.append(g->framework_dirs.at(i)); + } + //note(dimenus): appending libc headers before c_headers breaks intrinsics //and other compiler specific items // According to Rich Felker libc headers are supposed to go before C language headers.