winemaker: Don't add -mno-cygwin to CXXEXTRA per default

André Hentschel nerv at dawncrow.de
Tue Jun 11 12:54:00 CDT 2013


C++ applications often use cout&cin and other features which are better handled outside of Wine.
In case someone wants -mno-cygwin for C++, it's easier to figure out than the current situation.

---
 tools/winemaker | 2 --
 1 file changed, 2 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 9c5c6a0..c3921a1 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -1121,7 +1121,6 @@ sub source_scan_project_file($$$)
 
     if ((@$project_settings[$T_FLAGS] & $TF_NOMSVCRT) == 0) {
         push @{@$project_settings[$T_CEXTRA]},"-mno-cygwin";
-        push @{@$project_settings[$T_CXXEXTRA]},"-mno-cygwin";
         if ($opt_arch != $OPT_ARCH_DEFAULT) {
             push @{@$project_settings[$T_CEXTRA]},"-m$opt_arch";
             push @{@$project_settings[$T_CXXEXTRA]},"-m$opt_arch";
@@ -1681,7 +1680,6 @@ sub source_scan_directory($$$$)
 
   if ((@$project_settings[$T_FLAGS] & $TF_NOMSVCRT) == 0) {
     push @{@$project_settings[$T_CEXTRA]},"-mno-cygwin";
-    push @{@$project_settings[$T_CXXEXTRA]},"-mno-cygwin";
       if ($opt_arch != $OPT_ARCH_DEFAULT) {
         push @{@$project_settings[$T_CEXTRA]},"-m$opt_arch";
         push @{@$project_settings[$T_CXXEXTRA]},"-m$opt_arch";
-- 
1.8.1.2



More information about the wine-patches mailing list