motiejus/zig

fork of https://codeberg.org/ziglang/zig
git clone https://git.jakstys.lt/motiejus/zig.git
Log | Tree | Refs | README | LICENSE

commit bf73db71f531c37b73616fb9bf5145c014521f6a (tree)
parent 93844a5ef9f3c4f1ae9a079ec32c681e3ffed410
Author: Hubert Jasudowicz <hubert.jasudowicz@gmail.com>
Date:   Wed, 11 Nov 2020 19:04:24 +0100

std: Fix code model argument

Diffstat:
Mlib/std/build.zig | 2+-
1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/lib/std/build.zig b/lib/std/build.zig @@ -2131,7 +2131,7 @@ pub const LibExeObjStep = struct { } if (self.code_model != .default) { - try zig_args.append("-code-model"); + try zig_args.append("-mcmodel"); try zig_args.append(@tagName(self.code_model)); }