diff options
| author | Andrew Kelley <andrew@ziglang.org> | 2020-01-21 03:01:20 -0500 |
|---|---|---|
| committer | Andrew Kelley <andrew@ziglang.org> | 2020-01-21 03:01:20 -0500 |
| commit | 1f7babbc80211e12c9a38ff2196d6ff8c5a19302 (patch) | |
| tree | 1768b836888481ba8f82afa11ec6e1c6262bf429 /src/userland.cpp | |
| parent | 0abaee79af462f4264717f88af052fb00eefde7c (diff) | |
| download | zig-1f7babbc80211e12c9a38ff2196d6ff8c5a19302.tar.gz zig-1f7babbc80211e12c9a38ff2196d6ff8c5a19302.zip | |
properly forward baseline target cpu features to llvm
Diffstat (limited to 'src/userland.cpp')
| -rw-r--r-- | src/userland.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/userland.cpp b/src/userland.cpp index 9a923e1b86..64849b65ed 100644 --- a/src/userland.cpp +++ b/src/userland.cpp @@ -104,7 +104,7 @@ Error stage2_cpu_features_parse_features(Stage2CpuFeatures **out, const char *zi const char *msg = "stage0 called stage2_cpu_features_parse_features"; stage2_panic(msg, strlen(msg)); } -Error stage2_cpu_features_baseline(Stage2CpuFeatures **out) { +Error stage2_cpu_features_baseline(Stage2CpuFeatures **out, const char *zig_triple) { Stage2CpuFeatures *result = allocate<Stage2CpuFeatures>(1, "Stage2CpuFeatures"); result->builtin_str = ".baseline;\n"; result->cache_hash = "\n\n"; |
