Commit 61f8c34f authored by Ben Taylor's avatar Ben Taylor Committed by Alexandre Julliard

winegcc: Allow -R and -z linker options.

parent 3baf4dbe
...@@ -724,6 +724,8 @@ static int is_linker_arg(const char* arg) ...@@ -724,6 +724,8 @@ static int is_linker_arg(const char* arg)
switch (arg[1]) switch (arg[1])
{ {
case 'R':
case 'z':
case 'l': case 'l':
case 'u': case 'u':
return 1; return 1;
...@@ -828,7 +830,7 @@ int main(int argc, char **argv) ...@@ -828,7 +830,7 @@ int main(int argc, char **argv)
case 'x': case 'o': case 'D': case 'U': case 'x': case 'o': case 'D': case 'U':
case 'I': case 'A': case 'l': case 'u': case 'I': case 'A': case 'l': case 'u':
case 'b': case 'V': case 'G': case 'L': case 'b': case 'V': case 'G': case 'L':
case 'B': case 'B': case 'R': case 'z':
if (argv[i][2]) option_arg = &argv[i][2]; if (argv[i][2]) option_arg = &argv[i][2];
else next_is_arg = 1; else next_is_arg = 1;
break; break;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment