From 031c52f873b908cb2bea5cb4c6d01949df6cace1 Mon Sep 17 00:00:00 2001 From: Avuton Olrich Date: Sat, 29 Oct 2011 05:50:42 -0700 Subject: [PATCH] configure.ac: Amend -Werror using the cflag framework --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index e6c8ee9..3dc9234 100644 --- a/configure.ac +++ b/configure.ac @@ -363,7 +363,7 @@ AC_ARG_ENABLE(werror, enable_werror=no) if test "x$enable_werror" = xyes; then - AM_CFLAGS="$AM_CFLAGS -Werror" + CHECK_CFLAG([-Werror]) fi AC_ARG_ENABLE(debug, -- 2.30.2