From 5f00de460133945113dbba476274a1077ef72f13 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Tim-Philipp=20M=C3=BCller?= Date: Sun, 22 Jun 2014 22:04:31 +0100 Subject: [PATCH] configure: use $ERROR_CFLAGS instead of hard-coding -Werror https://bugzilla.gnome.org//show_bug.cgi?id=731692 --- configure.ac | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/configure.ac b/configure.ac index 214f39f..b726bd9 100644 --- a/configure.ac +++ b/configure.ac @@ -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 -- 2.7.4