aboutsummaryrefslogtreecommitdiff
path: root/src/main.cpp
diff options
context:
space:
mode:
authorAndrew Kelley <superjoe30@gmail.com>2017-10-24 10:08:20 -0400
committerAndrew Kelley <superjoe30@gmail.com>2017-10-24 10:08:20 -0400
commit4f4da3c10c56eb1d60fdb2a98a46634d4dc608fe (patch)
treed7acdcf2f409d3d3c184408c7f792be481f98e7e /src/main.cpp
parent92751d5e2426f5f8151b910156d33709bf5df11b (diff)
downloadzig-4f4da3c10c56eb1d60fdb2a98a46634d4dc608fe.tar.gz
zig-4f4da3c10c56eb1d60fdb2a98a46634d4dc608fe.zip
wip self hosted code
Diffstat (limited to 'src/main.cpp')
-rw-r--r--src/main.cpp5
1 files changed, 0 insertions, 5 deletions
diff --git a/src/main.cpp b/src/main.cpp
index a9a1d5a8da..a4aa00aeca 100644
--- a/src/main.cpp
+++ b/src/main.cpp
@@ -70,7 +70,6 @@ static int usage(const char *arg0) {
" -rpath [path] add directory to the runtime library search path\n"
" -mconsole (windows) --subsystem console to the linker\n"
" -mwindows (windows) --subsystem windows to the linker\n"
- " -municode (windows) link with unicode\n"
" -framework [name] (darwin) link against framework\n"
" -mios-version-min [ver] (darwin) set iOS deployment target\n"
" -mmacosx-version-min [ver] (darwin) set Mac OS X deployment target\n"
@@ -296,7 +295,6 @@ int main(int argc, char **argv) {
const char *target_environ = nullptr;
bool mwindows = false;
bool mconsole = false;
- bool municode = false;
bool rdynamic = false;
const char *mmacosx_version_min = nullptr;
const char *mios_version_min = nullptr;
@@ -462,8 +460,6 @@ int main(int argc, char **argv) {
mwindows = true;
} else if (strcmp(arg, "-mconsole") == 0) {
mconsole = true;
- } else if (strcmp(arg, "-municode") == 0) {
- municode = true;
} else if (strcmp(arg, "-rdynamic") == 0) {
rdynamic = true;
} else if (strcmp(arg, "--each-lib-rpath") == 0) {
@@ -762,7 +758,6 @@ int main(int argc, char **argv) {
}
codegen_set_windows_subsystem(g, mwindows, mconsole);
- codegen_set_windows_unicode(g, municode);
codegen_set_rdynamic(g, rdynamic);
if (mmacosx_version_min && mios_version_min) {
fprintf(stderr, "-mmacosx-version-min and -mios-version-min options not allowed together\n");