Exclude VS2012 from -FS option

(cherry picked from 7.0 / commit 4aee25e8 and e29a53f0)
This commit is contained in:
Freddie Akeroyd
2020-03-28 15:51:49 +01:00
committed by Ralph Lange
parent cb3fb18f40
commit 7f02f8a386

View File

@@ -141,13 +141,16 @@ STATIC_LDFLAGS=
RANLIB=
#
# option needed for parallel builds with Visual Studio 2015 onward
#
# option needed for parallel builds with Visual Studio 2013 onward
# VS2012 and above have VisualStudioVersion, so just need to exclude 2012 (11.0)
# -FS Force Synchronous PDB Writes
#
ifneq ($(VisualStudioVersion),)
ifneq ($(VisualStudioVersion),11.0)
OPT_CXXFLAGS_NO += -FS
OPT_CFLAGS_NO += -FS
endif
endif
#