winemaker: Add calling convention flags

André Hentschel nerv at dawncrow.de
Tue Nov 30 16:56:37 CST 2010


---
 tools/winemaker |    7 +++++++
 1 files changed, 7 insertions(+), 0 deletions(-)

diff --git a/tools/winemaker b/tools/winemaker
index 484cf72..28fc9bd 100755
--- a/tools/winemaker
+++ b/tools/winemaker
@@ -624,6 +624,13 @@ sub source_scan_project_file($$$)
                     } elsif (/^GX$/) {
                         # Enable Exception Handling
                         $prj_target_cflags.="-fexceptions ";
+                    } elsif (/^Gd$/) {
+                        # use cdecl calling convention (default)
+                    } elsif (/^Gr$/) {
+                        # use fastcall calling convention
+                    } elsif (/^Gz$/) {
+                        # use stdcall calling convention
+                        $prj_target_cflags.="-mrtd ";
                     } elsif (/^Z[d7iI]$/) {
                         # Debug Info
                         $prj_target_cflags.="-g ";
-- 

Best Regards, André Hentschel



More information about the wine-patches mailing list