André Hentschel : winemaker: Don' t use deprecated -mcpu option.

Alexandre Julliard julliard at winehq.org
Wed Jun 23 10:57:05 CDT 2010


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

Author: André Hentschel <nerv at dawncrow.de>
Date:   Tue Jun 22 18:01:20 2010 +0200

winemaker: Don't use deprecated -mcpu option.

---

 tools/winemaker |    8 ++++----
 1 files changed, 4 insertions(+), 4 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 0e34245..64cf54b 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -691,19 +691,19 @@ sub source_scan_project_file($$$)
                         # this option is always present and is already specified in the suffix rules
                     } elsif (/^GB$/) {
                         # Blend Optimization
-                        $prj_target_cflags.="-mcpu=pentiumpro -D_M_IX86=500 ";
+                        $prj_target_cflags.="-march=pentiumpro -D_M_IX86=500 ";
                     } elsif (/^G6$/) {
                         # Pentium Pro Optimization
                         $prj_target_cflags.="-march=pentiumpro -D_M_IX86=600 ";
                     } elsif (/^G5$/) {
                         # Pentium Optimization
-                        $prj_target_cflags.="-mcpu=pentium -D_M_IX86=500 ";
+                        $prj_target_cflags.="-march=pentium -D_M_IX86=500 ";
                     } elsif (/^G3$/) {
                         # 80386 Optimization
-                        $prj_target_cflags.="-mcpu=i386 -D_M_IX86=300 ";
+                        $prj_target_cflags.="-march=i386 -D_M_IX86=300 ";
                     } elsif (/^G4$/) {
                         # 80486 Optimization
-                        $prj_target_cflags.="-mcpu=i486 -D_M_IX86=400 ";
+                        $prj_target_cflags.="-march=i486 -D_M_IX86=400 ";
                     } elsif (/^Yc/) {
                         # Create Precompiled Header
                     } elsif (/^Yu/) {




More information about the wine-cvs mailing list