mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-01-21 14:48:14 +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 ***
|
dnl *** check for arguments to configure ***
|
||||||
|
|
||||||
|
AG_GST_ARG_DISABLE_FATAL_WARNINGS
|
||||||
|
|
||||||
AG_GST_ARG_DEBUG
|
AG_GST_ARG_DEBUG
|
||||||
AG_GST_ARG_PROFILING
|
AG_GST_ARG_PROFILING
|
||||||
AG_GST_ARG_VALGRIND
|
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])
|
[$PACKAGE_VERSION_MAJOR.$PACKAGE_VERSION_MINOR.$PACKAGE_VERSION_MICRO])
|
||||||
|
|
||||||
dnl define an ERROR_CFLAGS Makefile variable
|
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
|
-Wmissing-declarations -Wmissing-prototypes -Wredundant-decls -Wundef
|
||||||
-Wwrite-strings -Wformat-nonliteral -Wformat-security -Wformat-nonliteral
|
-Wwrite-strings -Wformat-nonliteral -Wformat-security -Wformat-nonliteral
|
||||||
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
|
-Winit-self -Wmissing-include-dirs -Waddress -Waggregate-return
|
||||||
|
|
Loading…
Reference in a new issue