Mike Frysinger : winegcc: Pass -m32/-m64 along to the linker.

Alexandre Julliard julliard at wine.codeweavers.com
Wed Jan 25 06:22:44 CST 2006


Module: wine
Branch: refs/heads/master
Commit: ff6b46656354e3da8295ce5d2aba6efee197c066
URL:    http://source.winehq.org/git/?p=wine.git;a=commit;h=ff6b46656354e3da8295ce5d2aba6efee197c066

Author: Mike Frysinger <vapier at gentoo.org>
Date:   Wed Jan 25 13:15:34 2006 +0100

winegcc: Pass -m32/-m64 along to the linker.

---

 tools/winegcc/winegcc.c |    2 ++
 1 files changed, 2 insertions(+), 0 deletions(-)

diff --git a/tools/winegcc/winegcc.c b/tools/winegcc/winegcc.c
index 93153fd..e0a810e 100644
--- a/tools/winegcc/winegcc.c
+++ b/tools/winegcc/winegcc.c
@@ -908,6 +908,8 @@ int main(int argc, char **argv)
 			opts.gui_app = 0;
 		    else if (strcmp("-municode", argv[i]) == 0)
 			opts.unicode_app = 1;
+		    else if (strcmp("-m32", argv[i]) == 0 || strcmp("-m64", argv[i]) == 0)
+			raw_linker_arg = 1;
 		    break;
                 case 'n':
                     if (strcmp("-nostdinc", argv[i]) == 0)




More information about the wine-cvs mailing list