Skip to content

Commit

Permalink
Drop unavailable flags with clang during configuration
Browse files Browse the repository at this point in the history
  • Loading branch information
Algunenano authored and dbaston committed Jun 8, 2018
1 parent 439fbb5 commit abbcf60
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions configure.ac
Expand Up @@ -142,9 +142,9 @@ AX_CXX_COMPILE_STDCXX_11([noext],[mandatory])
WARNFLAGS=""
AC_LANG_PUSH([C++])
dnl Available in GCC 5.1
AX_CHECK_COMPILE_FLAG([-Wsuggest-override], [WARNFLAGS="$WARNFLAGS -Wsuggest-override"])
AX_CHECK_COMPILE_FLAG([-Wsuggest-override -Werror], [WARNFLAGS="$WARNFLAGS -Wsuggest-override"])
dnl Available in clang 3.5
AX_CHECK_COMPILE_FLAG([-Wmissing-override], [WARNFLAGS="$WARNFLAGS -Wmissing-override"])
AX_CHECK_COMPILE_FLAG([-Wmissing-override -Werror], [WARNFLAGS="$WARNFLAGS -Wmissing-override"])
AC_LANG_POP([C++])

dnl In order for AC_LIBTOOL_COMPILER_OPTION to use
Expand Down

0 comments on commit abbcf60

Please sign in to comment.