mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer.git
synced 2025-02-20 13:06:23 +00:00
configure: use $ERROR_CFLAGS instead of hard-coding -Werror
https://bugzilla.gnome.org//show_bug.cgi?id=731692
This commit is contained in:
parent
a84406c09b
commit
5f00de4601
1 changed files with 1 additions and 1 deletions
|
@ -852,7 +852,7 @@ if test "x$HAVE_GL" = "xyes" -a "x$HAVE_GLES2" = "xyes"; then
|
|||
"
|
||||
AC_MSG_CHECKING([whether it is possible to include both GL and GLES2 headers])
|
||||
save_CPPFLAGS="$CPPFLAGS"
|
||||
CPPFLAGS="$CPPFLAGS -Werror"
|
||||
CPPFLAGS="$CPPFLAGS $ERROR_CFLAGS"
|
||||
AC_COMPILE_IFELSE([AC_LANG_PROGRAM([[$GL_INCLUDES]], [[
|
||||
#if !defined(GL_FALSE)
|
||||
#error Failed to include GL headers
|
||||
|
|
Loading…
Reference in a new issue