From 844b7e1475f56e683497dbd887469942e03d14bf Mon Sep 17 00:00:00 2001 From: Brian Cameron Date: Mon, 19 May 2003 11:55:56 +0000 Subject: [PATCH] Updated configure.ac so that it does not include the -Wall and -Werror if the compiler cannot use these flags. Original commit message from CVS: Updated configure.ac so that it does not include the -Wall and -Werror if the compiler cannot use these flags. --- configure.ac | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/configure.ac b/configure.ac index 59c3f03dcc..0ba8793e61 100644 --- a/configure.ac +++ b/configure.ac @@ -36,9 +36,9 @@ AM_PROG_AS AS="${CC}" dnl decide on error flags -AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",) +AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",GST_ERROR="$GST_ERROR") if test "x$GST_CVS"="xyes"; then - AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",) + AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",GST_ERROR="$GST_ERROR") fi dnl We disable static building for development, for time savings