winemaker: Add calling convention flags.

This commit is contained in:
André Hentschel 2010-11-30 23:56:37 +01:00 committed by Alexandre Julliard
parent c8f4154874
commit d4c50adb72
1 changed files with 7 additions and 0 deletions

View File

@ -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 ";