Skip to content

Commit 19437ef

Browse files
committed
Add -Wformat to NODIST
1 parent c5396a1 commit 19437ef

File tree

2 files changed

+13
-13
lines changed

2 files changed

+13
-13
lines changed

configure

Lines changed: 12 additions & 12 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

configure.ac

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2510,7 +2510,7 @@ if test "$disable_safety" = "no"
25102510
then
25112511
AX_CHECK_COMPILE_FLAG([-fstack-protector-strong], [CFLAGS_NODIST="$CFLAGS_NODIST -fstack-protector-strong"], [AC_MSG_WARN([-fstack-protector-strong not supported])], [-Werror])
25122512
AX_CHECK_COMPILE_FLAG([-Wtrampolines], [CFLAGS_NODIST="$CFLAGS_NODIST -Wtrampolines"], [AC_MSG_WARN([-Wtrampolines not supported])], [-Werror])
2513-
AX_CHECK_COMPILE_FLAG([-Wformat=2], [CFLAGS_NODIST="$CFLAGS_NODIST -Wformat=2"], [AC_MSG_WARN([-Wformat=2 not supported])], [-Werror])
2513+
AX_CHECK_COMPILE_FLAG([-Wformat -Wformat=2], [CFLAGS_NODIST="$CFLAGS_NODIST -Wformat -Wformat=2"], [AC_MSG_WARN([-Wformat and -Wformat=2 not supported])], [-Werror])
25142514
fi
25152515

25162516
AC_MSG_CHECKING([for --enable-slower-safety])

0 commit comments

Comments
 (0)