Merge pull request #3389 from LemonBoy/win32

Win32
This commit is contained in:
Andrew Kelley
2019-10-09 13:22:16 -04:00
committed by GitHub
7 changed files with 176 additions and 103 deletions

View File

@@ -8727,6 +8727,9 @@ static void init(CodeGen *g) {
// Be aware of https://github.com/ziglang/zig/issues/3275
target_specific_cpu_args = "";
target_specific_features = riscv_default_features;
} else if (g->zig_target->arch == ZigLLVM_x86) {
target_specific_cpu_args = "pentium4";
target_specific_features = "";
} else {
target_specific_cpu_args = "";
target_specific_features = "";