Support -mconsole.
This commit is contained in:
parent
4936ce6dfa
commit
1406d20326
|
@ -176,6 +176,8 @@ int main(int argc, char **argv)
|
|||
use_msvcrt = 1;
|
||||
else if (strcmp("-mwindows", argv[i]) == 0)
|
||||
gui_app = 1;
|
||||
else if (strcmp("-mconsole", argv[i]) == 0)
|
||||
gui_app = 0;
|
||||
break;
|
||||
case 'n':
|
||||
if (strcmp("-nostdinc", argv[i]) == 0)
|
||||
|
@ -322,6 +324,8 @@ int main(int argc, char **argv)
|
|||
; /* ignore this option */
|
||||
else if (strcmp("-mwindows", argv[j]) == 0)
|
||||
; /* ignore this option */
|
||||
else if (strcmp("-mconsole", argv[j]) == 0)
|
||||
; /* ignore this option */
|
||||
else if (strcmp("-mthreads", argv[j]) == 0)
|
||||
; /* ignore this option */
|
||||
else if (strncmp("-Wl,", argv[j], 4) == 0)
|
||||
|
|
Loading…
Reference in New Issue