Stephen Kitt : winegcc: Pass through -march to winebuild.

Alexandre Julliard julliard at wine.codeweavers.com
Tue Dec 15 12:54:07 CST 2015


Module: wine
Branch: master
Commit: 312b7b43cb0be43cf8221dcd92b3409b2e62fb7d
URL:    http://source.winehq.org/git/wine.git/?a=commit;h=312b7b43cb0be43cf8221dcd92b3409b2e62fb7d

Author: Stephen Kitt <steve at sk2.org>
Date:   Sun Dec 13 21:01:20 2015 +0100

winegcc: Pass through -march to winebuild.

Signed-off-by: Stephen Kitt <steve at sk2.org>
Signed-off-by: André Hentschel <nerv at dawncrow.de>
Signed-off-by: Alexandre Julliard <julliard at winehq.org>

---

 tools/winegcc/winegcc.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index c07243b..1326afe 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -1525,7 +1525,7 @@ int main(int argc, char **argv)
                         strarray_add(opts.winebuild_args, argv[i]);
 			raw_linker_arg = 1;
                     }
-                    else if (strncmp("-mcpu=", argv[i], 6) == 0)
+                    else if (strncmp("-mcpu=", argv[i], 6) == 0 || strncmp("-march=", argv[i], 7) == 0)
                         strarray_add(opts.winebuild_args, argv[i]);
 		    break;
                 case 'n':




More information about the wine-cvs mailing list