using -Werror is probably more robust there

This commit is contained in:
cathugger
2019-03-15 21:18:35 +00:00
parent 390e8ea9de
commit 7e2503039d

View File

@@ -206,7 +206,7 @@ then
fi
if test "x$ed25519impl" = "xdonna"
then
CFLAGS="$cstd -Wno-unused-function"
CFLAGS="$cstd -Wno-unused-function -Werror"
AC_MSG_CHECKING([whether CC supports -Wno-unused-function])
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([])],
[AC_MSG_RESULT([yes])]