aboutsummaryrefslogtreecommitdiff
path: root/src/userland.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <andrew@ziglang.org>2020-01-21 03:01:20 -0500
committerAndrew Kelley <andrew@ziglang.org>2020-01-21 03:01:20 -0500
commit1f7babbc80211e12c9a38ff2196d6ff8c5a19302 (patch)
tree1768b836888481ba8f82afa11ec6e1c6262bf429 /src/userland.cpp
parent0abaee79af462f4264717f88af052fb00eefde7c (diff)
downloadzig-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.cpp2
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";