diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2018-12-29 12:49:23 -0500 |
|---|---|---|
| committer | GitHub <noreply@github.com> | 2018-12-29 12:49:23 -0500 |
| commit | d8b6fa9134e247658bb98155ba2e4243cd335b1b (patch) | |
| tree | 55887d1fb589b00a6ec4ed9d51bc38b9821f4699 /src/codegen.cpp | |
| parent | c464ecf3bf6d764ad06a20f10efc386e26fb7fa2 (diff) | |
| parent | 2e08bd6be4a3b472fcaa69f0cb7683b269cdacdd (diff) | |
| download | zig-d8b6fa9134e247658bb98155ba2e4243cd335b1b.tar.gz zig-d8b6fa9134e247658bb98155ba2e4243cd335b1b.zip | |
Merge pull request #1859 from mgxm/fbsd2
Progress towards tier 1 support for FreeBSD x86_64
Diffstat (limited to 'src/codegen.cpp')
| -rw-r--r-- | src/codegen.cpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/codegen.cpp b/src/codegen.cpp index bbf8ffa340..6a0596f62f 100644 --- a/src/codegen.cpp +++ b/src/codegen.cpp @@ -178,7 +178,8 @@ CodeGen *codegen_create(Buf *root_src_path, const ZigTarget *target, OutType out // On Darwin/MacOS/iOS, we always link libSystem which contains libc. if (g->zig_target.os == OsMacOSX || - g->zig_target.os == OsIOS) + g->zig_target.os == OsIOS || + g->zig_target.os == OsFreeBSD) { g->libc_link_lib = create_link_lib(buf_create_from_str("c")); g->link_libs_list.append(g->libc_link_lib); |
