diff options
author | Michele Calgaro <[email protected]> | 2021-07-25 17:48:10 +0900 |
---|---|---|
committer | Michele Calgaro <[email protected]> | 2021-07-26 22:36:14 +0900 |
commit | 085b8b6c98a2893a8bb7303b40c88d417f40cdbe (patch) | |
tree | 182f6208396b1fcca3ee3923e903d38b005bf90c /configure.in.in | |
parent | 8b78a8791bc539bcffe7159f9d9714d577cb3d7d (diff) | |
download | koffice-085b8b6c98a2893a8bb7303b40c88d417f40cdbe.tar.gz koffice-085b8b6c98a2893a8bb7303b40c88d417f40cdbe.zip |
Fixed FTBFS caused by usage of dynamic exception specification, no longer accepted in c++17.
Signed-off-by: Michele Calgaro <[email protected]>
Diffstat (limited to 'configure.in.in')
-rw-r--r-- | configure.in.in | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/configure.in.in b/configure.in.in index fcc96492..3f2a9fb5 100644 --- a/configure.in.in +++ b/configure.in.in @@ -293,7 +293,6 @@ then AC_LANG_CPLUSPLUS SAVED_CXXFLAGS="$CXXFLAGS" for CXX_STD_TEST in "" 11 14 17; do - CXXFLAGS="$SAVED_CXXFLAGS" if test "x$CXX_STD_TEST" = "x"; then AC_MSG_CHECKING([OpenEXR build with default C++ standard]) OPENEXR_CXXFLAGS="" @@ -301,7 +300,7 @@ then AC_MSG_CHECKING([OpenEXR build with C++$CXX_STD_TEST]) OPENEXR_CXXFLAGS="-std=c++$CXX_STD_TEST" fi - CXXFLAGS="$SAVED_CXXFLAGS $OPENEXR_CFLAGS $OPENEXR_CXXFLAGS" + CXXFLAGS="$SAVED_CXXFLAGS $USE_EXCEPTIONS $OPENEXR_CFLAGS $OPENEXR_CXXFLAGS" AC_TRY_COMPILE([ #include <ImfRgbaFile.h> ],[ ], |