From c50bb218de95e1f4278fb1b4ad5f300b13364b85 Mon Sep 17 00:00:00 2001 From: Chun-wei Fan Date: Thu, 12 Nov 2015 15:26:20 +0800 Subject: [PATCH] MSVC 2010+ builds: Do not explicitly use /LTCG This partially reverts dc4361f. As we now ensure that items using GResources and GConstructors are always referenced so that the linker does not optimize them out in a default Release build, we no longer need to enforce the use of /LTCG, so /LTCG:incremental will work as well. --- build/win32/vs10/gdbus.vcxproj | 2 -- build/win32/vs10/gio-querymodules.vcxproj | 2 -- build/win32/vs10/gio.vcxprojin | 2 -- build/win32/vs10/glib-compile-resources.vcxprojin | 2 -- build/win32/vs10/glib-compile-schemas.vcxprojin | 2 -- build/win32/vs10/glib-genmarshal.vcxproj | 2 -- build/win32/vs10/glib.vcxprojin | 4 ---- build/win32/vs10/gmodule.vcxproj | 2 -- build/win32/vs10/gobject.vcxprojin | 2 -- build/win32/vs10/gresource.vcxproj | 2 -- build/win32/vs10/gsettings.vcxproj | 2 -- build/win32/vs10/gspawn-win32-helper-console.vcxproj | 2 -- build/win32/vs10/gspawn-win32-helper.vcxproj | 2 -- build/win32/vs10/gthread.vcxproj | 2 -- 14 files changed, 30 deletions(-) diff --git a/build/win32/vs10/gdbus.vcxproj b/build/win32/vs10/gdbus.vcxproj index 010b91f01..759143f2b 100644 --- a/build/win32/vs10/gdbus.vcxproj +++ b/build/win32/vs10/gdbus.vcxproj @@ -132,7 +132,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -155,7 +154,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gio-querymodules.vcxproj b/build/win32/vs10/gio-querymodules.vcxproj index c2168c4b0..b33a1d186 100644 --- a/build/win32/vs10/gio-querymodules.vcxproj +++ b/build/win32/vs10/gio-querymodules.vcxproj @@ -132,7 +132,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -155,7 +154,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gio.vcxprojin b/build/win32/vs10/gio.vcxprojin index 5f156ccdf..fecd2ca9f 100644 --- a/build/win32/vs10/gio.vcxprojin +++ b/build/win32/vs10/gio.vcxprojin @@ -121,7 +121,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -175,7 +174,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/glib-compile-resources.vcxprojin b/build/win32/vs10/glib-compile-resources.vcxprojin index 44462bf0e..e098347b6 100644 --- a/build/win32/vs10/glib-compile-resources.vcxprojin +++ b/build/win32/vs10/glib-compile-resources.vcxprojin @@ -132,7 +132,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -155,7 +154,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/glib-compile-schemas.vcxprojin b/build/win32/vs10/glib-compile-schemas.vcxprojin index e696a070d..fff97fb42 100644 --- a/build/win32/vs10/glib-compile-schemas.vcxprojin +++ b/build/win32/vs10/glib-compile-schemas.vcxprojin @@ -132,7 +132,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -155,7 +154,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/glib-genmarshal.vcxproj b/build/win32/vs10/glib-genmarshal.vcxproj index 05a032054..8f31f7b26 100644 --- a/build/win32/vs10/glib-genmarshal.vcxproj +++ b/build/win32/vs10/glib-genmarshal.vcxproj @@ -112,7 +112,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -156,7 +155,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/glib.vcxprojin b/build/win32/vs10/glib.vcxprojin index 9602c65fa..03ba749e1 100644 --- a/build/win32/vs10/glib.vcxprojin +++ b/build/win32/vs10/glib.vcxprojin @@ -260,7 +260,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -286,7 +285,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -312,7 +310,6 @@ false - UseLinkTimeCodeGeneration MachineX64 @@ -338,7 +335,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gmodule.vcxproj b/build/win32/vs10/gmodule.vcxproj index ce65f3f2d..d4f5070ec 100644 --- a/build/win32/vs10/gmodule.vcxproj +++ b/build/win32/vs10/gmodule.vcxproj @@ -118,7 +118,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -168,7 +167,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gobject.vcxprojin b/build/win32/vs10/gobject.vcxprojin index 997136fac..b08bd5b99 100644 --- a/build/win32/vs10/gobject.vcxprojin +++ b/build/win32/vs10/gobject.vcxprojin @@ -118,7 +118,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -168,7 +167,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gresource.vcxproj b/build/win32/vs10/gresource.vcxproj index 6c26b9e9c..f52b38acc 100644 --- a/build/win32/vs10/gresource.vcxproj +++ b/build/win32/vs10/gresource.vcxproj @@ -132,7 +132,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -155,7 +154,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gsettings.vcxproj b/build/win32/vs10/gsettings.vcxproj index 331c5ec9b..f74913b80 100644 --- a/build/win32/vs10/gsettings.vcxproj +++ b/build/win32/vs10/gsettings.vcxproj @@ -133,7 +133,6 @@ Console true true - UseLinkTimeCodeGeneration MachineX86 @@ -156,7 +155,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gspawn-win32-helper-console.vcxproj b/build/win32/vs10/gspawn-win32-helper-console.vcxproj index ef278b7fa..6cbb67cd9 100644 --- a/build/win32/vs10/gspawn-win32-helper-console.vcxproj +++ b/build/win32/vs10/gspawn-win32-helper-console.vcxproj @@ -112,7 +112,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -137,7 +136,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gspawn-win32-helper.vcxproj b/build/win32/vs10/gspawn-win32-helper.vcxproj index c3bdf4511..581515e9b 100644 --- a/build/win32/vs10/gspawn-win32-helper.vcxproj +++ b/build/win32/vs10/gspawn-win32-helper.vcxproj @@ -136,7 +136,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -160,7 +159,6 @@ false - UseLinkTimeCodeGeneration MachineX64 diff --git a/build/win32/vs10/gthread.vcxproj b/build/win32/vs10/gthread.vcxproj index d384797e7..118bcfc65 100644 --- a/build/win32/vs10/gthread.vcxproj +++ b/build/win32/vs10/gthread.vcxproj @@ -118,7 +118,6 @@ false - UseLinkTimeCodeGeneration MachineX86 @@ -168,7 +167,6 @@ false - UseLinkTimeCodeGeneration MachineX64