From 4aee25e8e2f911c08c8ebaf4245abd54d70bd84c Mon Sep 17 00:00:00 2001 From: Freddie Akeroyd Date: Mon, 30 Sep 2019 22:37:42 +0100 Subject: [PATCH] Exclude VS2012 from -FS option --- configure/os/CONFIG.win32-x86.win32-x86 | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/configure/os/CONFIG.win32-x86.win32-x86 b/configure/os/CONFIG.win32-x86.win32-x86 index 7d6c11b6b..d2499c4c4 100644 --- a/configure/os/CONFIG.win32-x86.win32-x86 +++ b/configure/os/CONFIG.win32-x86.win32-x86 @@ -140,14 +140,15 @@ STATIC_LDLIBS_NO= 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 #