aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2016-09-14 02:47:54 -0400
committerAndrew Kelley <superjoe30@gmail.com>2016-09-14 02:47:54 -0400
commitc65fe384ddb5f5f6a5f22cb636539fd91701de4d (patch)
tree8ae6966a01439c347bd69f87e40a9fc5e4f62476 /src/main.cpp
parent06f2f4d64b63cf78a3ff77cc64dbc822123f454d (diff)
parentf1761632dae8951d21e62cb13e14bd4b4b0ed8a8 (diff)
downloadzig-c65fe384ddb5f5f6a5f22cb636539fd91701de4d.tar.gz
zig-c65fe384ddb5f5f6a5f22cb636539fd91701de4d.zip
Merge branch 'macos-aindigo'
Closes #189
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/main.cpp b/src/main.cpp
index 5caa37c66a..e55350a274 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -388,9 +388,11 @@ int main(int argc, char **argv) {
fprintf(stderr, "-mmacosx-version-min and -mios-version-min options not allowed together\n");
return EXIT_FAILURE;
}
+
if (mmacosx_version_min) {
codegen_set_mmacosx_version_min(g, buf_create_from_str(mmacosx_version_min));
}
+
if (mios_version_min) {
codegen_set_mios_version_min(g, buf_create_from_str(mios_version_min));
}