summaryrefslogtreecommitdiff
path: root/configure
diff options
context:
space:
mode:
authorKacper Michajłow <kasper93@gmail.com>2017-01-12 01:02:23 +0100
committerMichael Niedermayer <michael@niedermayer.cc>2017-01-17 17:55:34 +0100
commit2064a3b8dfd80018bb01ea30d0d7dbc5d62ddc5c (patch)
tree4b035f2786aeed0f1b5a3cceb72303a0de705b2c /configure
parentbdbbb8f11edbf10add874508c5125c174d8939be (diff)
configure: Don't disable SSA Optimizer on MSVC v19.00.24218+.
Signed-off-by: Michael Niedermayer <michael@niedermayer.cc>
Diffstat (limited to 'configure')
-rwxr-xr-xconfigure6
1 files changed, 3 insertions, 3 deletions
diff --git a/configure b/configure
index 499fc929ef..4a30f823d2 100755
--- a/configure
+++ b/configure
@@ -6320,9 +6320,9 @@ EOF
check_func strtoll || add_cflags -Dstrtoll=_strtoi64
check_func strtoull || add_cflags -Dstrtoull=_strtoui64
# the new SSA optimzer in VS2015 U3 is mis-optimizing some parts of the code
- # this flag should be re-checked on newer compiler releases and put under a
- # version check once its fixed
- check_cflags -d2SSAOptimizer-
+ # Issue has been fixed in MSVC v19.00.24218.
+ check_cpp_condition windows.h "_MSC_FULL_VER >= 190024218" ||
+ check_cflags -d2SSAOptimizer-
fi
for pfx in "" host_; do