Skip to content

Commit cac8fa4

Browse files
committed
build: Improve SECP_TRY_APPEND_DEFAULT_CFLAGS macro
1 parent 427bc3c commit cac8fa4

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

configure.ac

+1-1
Original file line numberDiff line numberDiff line change
@@ -92,7 +92,7 @@ AC_DEFUN([SECP_TRY_APPEND_DEFAULT_CFLAGS], [
9292
# not error out if it gets unknown warning flags and the checks here will always succeed
9393
# no matter if clang knows the flag or not.
9494
SECP_TRY_APPEND_DEFAULT_CFLAGS_saved_CFLAGS="$CFLAGS"
95-
SECP_TRY_APPEND_CFLAGS([-Werror=unknown-warning-option], CFLAGS)
95+
SECP_TRY_APPEND_CFLAGS([-Werror], CFLAGS)
9696
9797
SECP_TRY_APPEND_CFLAGS([-std=c89 -pedantic -Wno-long-long -Wnested-externs -Wshadow -Wstrict-prototypes -Wundef], $1) # GCC >= 3.0, -Wlong-long is implied by -pedantic.
9898
SECP_TRY_APPEND_CFLAGS([-Wno-overlength-strings], $1) # GCC >= 4.2, -Woverlength-strings is implied by -pedantic.

0 commit comments

Comments
 (0)