winemaker: Don't use -march options

André Hentschel nerv at dawncrow.de
Sun Sep 19 13:42:44 CDT 2010


otherwise compilation will fail on non-x86 hardware, but still use the defines as they might be relevant.
---
 tools/winemaker |   10 +++++-----
 1 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 64cf54b..99e60ba 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.="-march=pentiumpro -D_M_IX86=500 ";
+                        $prj_target_cflags.="-D_M_IX86=500 ";
                     } elsif (/^G6$/) {
                         # Pentium Pro Optimization
-                        $prj_target_cflags.="-march=pentiumpro -D_M_IX86=600 ";
+                        $prj_target_cflags.="-D_M_IX86=600 ";
                     } elsif (/^G5$/) {
                         # Pentium Optimization
-                        $prj_target_cflags.="-march=pentium -D_M_IX86=500 ";
+                        $prj_target_cflags.="-D_M_IX86=500 ";
                     } elsif (/^G3$/) {
                         # 80386 Optimization
-                        $prj_target_cflags.="-march=i386 -D_M_IX86=300 ";
+                        $prj_target_cflags.="-D_M_IX86=300 ";
                     } elsif (/^G4$/) {
                         # 80486 Optimization
-                        $prj_target_cflags.="-march=i486 -D_M_IX86=400 ";
+                        $prj_target_cflags.="-D_M_IX86=400 ";
                     } elsif (/^Yc/) {
                         # Create Precompiled Header
                     } elsif (/^Yu/) {
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list