Skip to content

Commit

Permalink
Added -Werror=format-security to configure.ac.
Browse files Browse the repository at this point in the history
  • Loading branch information
gvansickle committed Feb 8, 2016
1 parent 33115d9 commit 1dde468
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions configure.ac
Original file line number Diff line number Diff line change
Expand Up @@ -177,6 +177,7 @@ AS_IF([test -n $CXX11_FLAG],
# Boost generates a ton of these warnings.
AX_APPEND_COMPILE_FLAGS([-Wno-unused-local-typedefs], [AM_CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-pthread], [AM_CXXFLAGS])
AX_APPEND_COMPILE_FLAGS([-Werror=format-security],[AM_CXXFLAGS])
# Put this back in to help with profiling.
#AX_APPEND_COMPILE_FLAGS([-fno-omit-frame-pointer], [AM_CXXFLAGS])
AC_LANG_POP([C++])
Expand Down

0 comments on commit 1dde468

Please sign in to comment.