Skip to content

Commit

Permalink
Revert "try"
Browse files Browse the repository at this point in the history
This reverts commit 74cf0c4.
  • Loading branch information
qingling128 committed Nov 6, 2019
1 parent 74cf0c4 commit 4f73420
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -6861,11 +6861,9 @@ AC_CONFIG_FILES([src/libcollectdclient/collectd/lcc_features.h])
AM_CFLAGS="-Wall"
AM_CXXFLAGS="-Wall"
if test "x$enable_werror" != "xno"; then
AM_CFLAGS="$AM_CFLAGS -Werror"
AM_CXXFLAGS="$AM_CXXFLAGS -Werror"
AM_CFLAGS="$AM_CFLAGS -Werror -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow"
AM_CXXFLAGS="$AM_CXXFLAGS -Werror -Wno-format-truncation -Wno-stringop-truncation -Wno-stringop-overflow"
fi
AX_CHECK_COMPILE_FLAG([-Werror -Werror=format-truncation],[AM_CFLAGS="$AM_CFLAGS -Wno-error=format-truncation" AM_CXXFLAGS="$AM_CXXFLAGS -Wno-error=format-truncation"])
AC_SUBST([AM_CFLAGS])
AC_SUBST([AM_CXXFLAGS])
Expand Down

0 comments on commit 4f73420

Please sign in to comment.