diff --git a/common b/common index ed429334bb..c5d7301d64 160000 --- a/common +++ b/common @@ -1 +1 @@ -Subproject commit ed429334bba35b10172ba97d9b3795b75a65b388 +Subproject commit c5d7301d645fbee2881c30e86152cb3d2152e33b diff --git a/configure.ac b/configure.ac index af4e497246..d242635679 100644 --- a/configure.ac +++ b/configure.ac @@ -36,15 +36,9 @@ AM_PROG_AS AS="${CC}" dnl decide on error flags -AS_COMPILER(COMPILER) -if test "x$COMPILER" = "xforte"; then - GST_ERROR= -else - if test "x$GST_CVS"="xyes"; then - GST_ERROR="-Wall -Werror" - else - GST_ERROR="-Wall" - fi +AS_COMPILER_FLAG(-Wall,GST_ERROR="$GST_ERROR -Wall",) +if test "x$GST_CVS"="xyes"; then + AS_COMPILER_FLAG(-Werror,GST_ERROR="$GST_ERROR -Werror",) fi dnl We disable static building for development, for time savings