diff options
author | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-07-04 12:06:49 +0800 |
---|---|---|
committer | Chun-wei Fan <fanchunwei@src.gnome.org> | 2014-07-04 12:06:49 +0800 |
commit | 6c10a52ba2f67264c4fb6268b70c1b15d6e6a267 (patch) | |
tree | 2f4b9ee1ce4e5755242de2c51f61df245db577af /build | |
parent | 7b6e421ad71bfe5e2e8b8e92ef97f42b77e79ba3 (diff) | |
download | gobject-introspection-6c10a52ba2f67264c4fb6268b70c1b15d6e6a267.tar.gz |
MSVC 2010 Projects: Improve Optimization A Bit
As the MSVC 2010 x64 (and later) compiler/linker do not have the
optimization bug that prevents g-ir-compiler.exe from being built (due to
a compiler/linker hang) under /O2 (max speed) (or /Ox, complete
optimization), use /O2 for the optimization setting, like the other parts
of g-i under Visual Studio 2010.
Diffstat (limited to 'build')
-rw-r--r-- | build/win32/vs10/g-ir-compiler.vcxprojin | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/build/win32/vs10/g-ir-compiler.vcxprojin b/build/win32/vs10/g-ir-compiler.vcxprojin index 4961ecee..1ed4eb75 100644 --- a/build/win32/vs10/g-ir-compiler.vcxprojin +++ b/build/win32/vs10/g-ir-compiler.vcxprojin @@ -141,9 +141,8 @@ <TargetEnvironment>X64</TargetEnvironment> </Midl> <ClCompile> - <Optimization>MinSpace</Optimization> + <Optimization>MaxSpeed</Optimization> <IntrinsicFunctions>true</IntrinsicFunctions> - <WholeProgramOptimization>false</WholeProgramOptimization> <PreprocessorDefinitions>$(FFIDefines);%(PreprocessorDefinitions)</PreprocessorDefinitions> <RuntimeLibrary>MultiThreadedDLL</RuntimeLibrary> <FunctionLevelLinking>true</FunctionLevelLinking> |