[Monodevelop-patches-list] r2253 - trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding
commit-watcher at mono-cvs.ximian.com
commit-watcher at mono-cvs.ximian.com
Fri Feb 18 13:13:03 EST 2005
Author: jluke
Date: 2005-02-18 13:13:03 -0500 (Fri, 18 Feb 2005)
New Revision: 2253
Modified:
trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
Log:
small fix
Modified: trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs
===================================================================
--- trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-02-18 18:02:36 UTC (rev 2252)
+++ trunk/MonoDevelop/Core/src/AddIns/BackendBindings/CSharpBinding/CSharpBindingCompilerManager.cs 2005-02-18 18:13:03 UTC (rev 2253)
@@ -82,9 +82,11 @@
writer.WriteLine("/d:DEBUG");
}
- if (compilerparameters.Optimize) {
+ // mcs default is + but others might not be
+ if (compilerparameters.Optimize)
writer.WriteLine("/optimize+");
- }
+ else
+ writer.WriteLine("/optimize-");
if (compilerparameters.Win32Icon != null && compilerparameters.Win32Icon.Length > 0 && File.Exists (compilerparameters.Win32Icon)) {
writer.WriteLine("\"/win32icon:" + compilerparameters.Win32Icon + "\"");
More information about the Monodevelop-patches-list
mailing list