mirror of
https://github.com/ziglang/zig.git
synced 2026-01-06 13:33:21 +00:00
fix windows not able to build mingw
This commit is contained in:
parent
3714d524c3
commit
e0670557b4
@ -1222,8 +1222,8 @@ static const char *get_libc_crt_file(CodeGen *parent, const char *file) {
|
||||
c_file->args.append("-isystem");
|
||||
c_file->args.append(path_from_libc(parent, "include" OS_SEP "any-windows-any"));
|
||||
|
||||
c_file->args.append("-I");
|
||||
c_file->args.append(path_from_libc(parent, "mingw" OS_SEP "include" OS_SEP));
|
||||
c_file->args.append("-isystem");
|
||||
c_file->args.append(path_from_libc(parent, "mingw" OS_SEP "include"));
|
||||
|
||||
c_file->args.append("-std=gnu99");
|
||||
c_file->args.append("-D_CRTBLD");
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user