mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2024-11-05 17:09:48 +00:00
configure: add --disable-fatal-warnings for disabling -Werror
This commit is contained in:
parent
9aa583b726
commit
c2d9f41a62
1 changed files with 3 additions and 1 deletions
|
@ -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
|
||||
|
@ -243,7 +245,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
|
||||
|
|
Loading…
Reference in a new issue