From 1871045b45ff43827462ab1ae51df5b7c93e25a0 Mon Sep 17 00:00:00 2001 From: Neil Roberts Date: Thu, 21 Feb 2013 15:08:19 +0000 Subject: [PATCH] mingw: Add --enable-deprecated to the recommended build flags The version of Pango that the script downloads is using G_CONST_RETURN in the public headers. This won't build if G_DISABLE_DEPRECATED is enabled so instead the build script now just recommends to pass --enable-deprecated to cogl's configure script. Reviewed-by: Robert Bragg (cherry picked from commit 4715f0f01d4de55a9cf690f52d4da211c243565b) --- build/mingw/mingw-fetch-dependencies.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/build/mingw/mingw-fetch-dependencies.sh b/build/mingw/mingw-fetch-dependencies.sh index c7d9e8352..3014b300e 100755 --- a/build/mingw/mingw-fetch-dependencies.sh +++ b/build/mingw/mingw-fetch-dependencies.sh @@ -411,7 +411,7 @@ echo echo "To get started, you should be able to configure and build from" echo "the top of your cogl source directory as follows:" echo -echo "./configure --host=\"$TARGET\" --target=\"$TARGET\" --build=\"$build_config\" --enable-wgl CFLAGS=\"-mms-bitfields -I$ROOT_DIR/include\" PKG_CONFIG=\"$RUN_PKG_CONFIG\"" PKG_CONFIG_PATH= +echo "./configure --host=\"$TARGET\" --target=\"$TARGET\" --build=\"$build_config\" --enable-wgl CFLAGS=\"-mms-bitfields -I$ROOT_DIR/include\" --enable-deprecated PKG_CONFIG=\"$RUN_PKG_CONFIG\"" PKG_CONFIG_PATH= echo "make" echo echo "Note: the explicit --build option is often necessary to ensure autoconf"