From 902467661ae6e911e9e8f6436e0b481e51b59b28 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Fri, 1 Jul 2016 14:28:35 +0900 Subject: [PATCH] build: add -Wno-error=deprecated-declarations for recent glib Change-Id: I509ac53971101779915fe5115b22d1959ba411b8 Signed-off-by: SeokYeon Hwang --- configure | 2 +- tizen/emulator_configure.sh | 1 + 2 files changed, 2 insertions(+), 1 deletion(-) diff --git a/configure b/configure index b6e5f048b2..7e17f8a869 100755 --- a/configure +++ b/configure @@ -4677,7 +4677,7 @@ if test "$yagl" = "yes" ; then if test "$linux" = "yes" ; then LIBS="-lGLU -ldl $LIBS" elif test "$mingw32" = "yes" ; then - LIBS="-lopengl32 -lglu32 $LIBS" + LIBS="-lopengl32 -lgdi32 -lglu32 $LIBS" elif test "$darwin" = "yes" ; then LIBS="-framework OpenGL -framework AGL -framework GLUT $LIBS" else diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index c812ffdf44..df17a03ac5 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -217,6 +217,7 @@ exec ./configure \ --extra-cflags=-Wno-error=format \ --extra-cflags=-Wno-error=format-extra-args \ --extra-cflags=-Wno-error=redundant-decls \ + --extra-cflags=-Wno-error=deprecated-declarations \ --extra-ldflags=-Wl,--large-address-aware \ --cc=gcc \ --audio-drv-list=winwave \ -- 2.34.1