authorgravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-04-05 15:39:00-04:00
committergravatar for andrew@ziglang.orgAndrew Kelley <andrew@ziglang.org> 2019-04-05 15:39:00-04:00
logc47c2a2f2a518c8878a081dd30a631f5bc21eefa
tree6a0421481ac47d8bd66d260e451e1d4bac2bf4ff
parent846f72b57cb56f67cedaa2113c3ff7b8c548d979

stage1: fix debug builds on macOS


1 files changed, 2 insertions(+), 0 deletions(-)

src/libc_installation.cpp+2
...@@ -304,9 +304,11 @@ Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirnam...@@ -304,9 +304,11 @@ Error zig_libc_cc_print_file_name(const char *o_file, Buf *out, bool want_dirnam
304304
305#undef CC_EXE305#undef CC_EXE
306306
307#if defined(ZIG_OS_WINDOWS) || defined(ZIG_OS_LINUX)
307static Error zig_libc_find_native_crt_dir_posix(ZigLibCInstallation *self, bool verbose) {308static Error zig_libc_find_native_crt_dir_posix(ZigLibCInstallation *self, bool verbose) {
308 return zig_libc_cc_print_file_name("crt1.o", &self->crt_dir, true, verbose);309 return zig_libc_cc_print_file_name("crt1.o", &self->crt_dir, true, verbose);
309}310}
311#endif
310312
311#if defined(ZIG_OS_WINDOWS)313#if defined(ZIG_OS_WINDOWS)
312static Error zig_libc_find_native_include_dir_windows(ZigLibCInstallation *self, ZigWindowsSDK *sdk, bool verbose) {314static Error zig_libc_find_native_include_dir_windows(ZigLibCInstallation *self, ZigWindowsSDK *sdk, bool verbose) {