Config fix for parallel builds with MSVC 2015 and later

From Mark Rivers and Freddie Akeroyd.
This commit is contained in:
Andrew Johnson committed 2018-02-01 11:19:08 -06:00
1 parent c830a3a4ee
commit 1454f42a27
1 file changed
+11
+11
View File
@@ -142,6 +142,17 @@ STATIC_LDLIBS_NO=
STATIC_LDFLAGS=
RANLIB=
#
# option needed for parallel builds with Visual Studio 2015 onward
#
# -FS Force Synchronous PDB Writes
ifneq ($(VisualStudioVersion),)
OPT_CXXFLAGS_NO += -FS
OPT_CFLAGS_NO += -FS
endif
#
# add -profile here to run the ms profiler
# -LTCG whole program optimization
# -incremental:no full linking