Alexandre Julliard : winebuild: Pass the -mcpu option to the C compiler also.

Alexandre Julliard julliard at winehq.org
Mon Jul 1 14:46:41 CDT 2013


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

Author: Alexandre Julliard <julliard at winehq.org>
Date:   Mon Jul  1 12:54:32 2013 +0200

winebuild: Pass the -mcpu option to the C compiler also.

---

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

diff --git a/tools/winebuild/utils.c b/tools/winebuild/utils.c
index 2028b05..9c497ed 100644
--- a/tools/winebuild/utils.c
+++ b/tools/winebuild/utils.c
@@ -381,6 +381,7 @@ struct strarray *get_as_command(void)
         strarray_add( args, "-xassembler", "-c", NULL );
         if (force_pointer_size)
             strarray_add_one( args, (force_pointer_size == 8) ? "-m64" : "-m32" );
+        if (cpu_option) strarray_add_one( args, strmake("-mcpu=%s", cpu_option) );
         return args;
     }
 




More information about the wine-cvs mailing list