summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTim-Philipp Müller <tim.muller@collabora.co.uk>2013-04-12 17:58:30 +0100
committerSebastian Dröge <sebastian.droege@collabora.co.uk>2013-04-26 17:49:50 +0200
commitb592fccaa24bb7494534fe6e7bd37855c63201e5 (patch)
treef01c5f0a7e25e6ca2dbea9ac0274caab3d7399a7
parentf886136c94ae5a8dc11ac43b3d890ad3c0ab4cc3 (diff)
downloadgst-omx-b592fccaa24bb7494534fe6e7bd37855c63201e5.tar.gz
configure: add --disable-fatal-warnings for disabling -Werror
-rw-r--r--configure.ac4
1 files changed, 3 insertions, 1 deletions
diff --git a/configure.ac b/configure.ac
index 3125eb4..ab59bf5 100644
--- a/configure.ac
+++ b/configure.ac
@@ -60,6 +60,8 @@ AC_SUBST(ACLOCAL_AMFLAGS, "-I m4 -I common/m4")
dnl *** check for arguments to configure ***
+AG_GST_ARG_DISABLE_FATAL_WARNINGS
+
AG_GST_ARG_DEBUG
AG_GST_ARG_PROFILING
AG_GST_ARG_VALGRIND
@@ -242,7 +244,7 @@ AG_GST_SET_PACKAGE_RELEASE_DATETIME_WITH_NANO([$PACKAGE_VERSION_NANO],
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
dnl define an ERROR_CFLAGS Makefile variable
-AG_GST_SET_ERROR_CFLAGS($GST_GIT, [
+AG_GST_SET_ERROR_CFLAGS($FATAL_WARNINGS, [
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
-Wwrite-strings -Wformat-nonliteral -Wformat-security -Wformat-nonliteral
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return