André Hentschel : winemaker: Add calling convention flags.
Alexandre Julliard
julliard at winehq.org
Wed Dec 1 12:56:46 CST 2010
Module: wine
Branch: master
Commit: d4c50adb72a88aa1dbc287265aff8e30114c7c1f
URL: http://source.winehq.org/git/wine.git/?a=commit;h=d4c50adb72a88aa1dbc287265aff8e30114c7c1f
Author: André Hentschel <nerv at dawncrow.de>
Date: Tue Nov 30 23:56:37 2010 +0100
winemaker: Add calling convention flags.
---
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 ";
More information about the wine-cvs
mailing list