winemaker: Fix optimizations.

This commit is contained in:
André Hentschel 2009-04-25 16:27:42 +02:00 committed by Alexandre Julliard
parent 1199d05d59
commit e1cdd9778f
1 changed files with 5 additions and 1 deletions

View File

@ -627,10 +627,14 @@ sub source_scan_project_file($$$)
# Disables inline Expansion
$prj_target_cflags.="-fno-inline ";
} elsif (/^Ob1$/) {
# In-line Function Expansion
#In-line Function Expansion
$prj_target_cflags.="-finline-functions ";
} elsif (/^Ob2$/) {
# auto In-line Function Expansion
$prj_target_cflags.="-finline-functions ";
} elsif (/^Ox$/) {
# Use maximum optimization
$prj_target_cflags.="-O3 ";
} elsif (/^Oy$/) {
# Frame-Pointer Omission
$prj_target_cflags.="-fomit-frame-pointer ";