Module: wine Branch: master Commit: 61f8c34f1ea716468a6a921bda7dec8fe0d248c6 URL: http://source.winehq.org/git/wine.git/?a=commit;h=61f8c34f1ea716468a6a921bda...
Author: Ben Taylor sol11x86@comcast.net Date: Sat May 5 18:33:58 2007 +0000
winegcc: Allow -R and -z linker options.
---
tools/winegcc/winegcc.c | 6 ++++-- 1 files changed, 4 insertions(+), 2 deletions(-)
diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c index f1a7bb0..3955276 100644 --- a/tools/winegcc/winegcc.c +++ b/tools/winegcc/winegcc.c @@ -724,7 +724,9 @@ static int is_linker_arg(const char* arg)
switch (arg[1]) { - case 'l': + case 'R': + case 'z': + case 'l': case 'u': return 1; case 'W': @@ -828,7 +830,7 @@ int main(int argc, char **argv) case 'x': case 'o': case 'D': case 'U': case 'I': case 'A': case 'l': case 'u': 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]; else next_is_arg = 1; break;