Exclude VS2012 from -FS option

This commit is contained in:
Freddie Akeroyd
2019-09-30 22:37:42 +01:00
parent 1d5bb93a1f
commit 4aee25e8e2
+4 -3
View File
@@ -140,14 +140,15 @@ STATIC_LDLIBS_NO=
STATIC_LDFLAGS= STATIC_LDFLAGS=
RANLIB= RANLIB=
# # option needed for parallel builds with Visual Studio 2013 onward
# option needed for parallel builds with Visual Studio 2015 onward # VS2012 and above have VisualStudioVersion, so just need to exclude 2012 (11.0)
#
# -FS Force Synchronous PDB Writes # -FS Force Synchronous PDB Writes
ifneq ($(VisualStudioVersion),) ifneq ($(VisualStudioVersion),)
ifneq ($(VisualStudioVersion),11.0)
OPT_CXXFLAGS_NO += -FS OPT_CXXFLAGS_NO += -FS
OPT_CFLAGS_NO += -FS OPT_CFLAGS_NO += -FS
endif endif
endif
# #