winegcc: Add detection for --param options

André Hentschel nerv at dawncrow.de
Tue Jun 15 14:30:01 CDT 2010


That was the only blocker when i tried to compile FFTW 3.2.2 with winegcc
---
 tools/winegcc/winegcc.c |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index fd31060..40f44c3 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1189,6 +1189,10 @@ int main(int argc, char **argv)
 		    if (strcmp("-framework", argv[i]) == 0)
 			next_is_arg = 1;
 		    break;
+		case '-':
+		    if (strcmp("--param", argv[i]) == 0)
+			next_is_arg = 1;
+		    break;
 	    }
 	    if (next_is_arg) option_arg = argv[i+1];
 
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list