diff -r 20daa32eec6f -r fe7df3d2f5ae common/autoconf/flags.m4 --- a/common/autoconf/flags.m4 Mon May 21 06:54:25 2018 -0700 +++ b/common/autoconf/flags.m4 Fri May 25 10:37:07 2018 +0100 @@ -476,7 +476,7 @@ # avoid bundling msvcpNNN.dll. Doesn't work with newer versions of visual # studio. if test "x$TOOLCHAIN_VERSION" = "x2010"; then - CXXFLAGS_JDK="$CXXFLAGS_JDK \ + CCXXFLAGS_JDK="$CCXXFLAGS_JDK \ -D_STATIC_CPPLIB -D_DISABLE_DEPRECATE_STATIC_CPPLIB" fi fi