build: add -Wno-error=deprecated-declarations for recent glib
authorSeokYeon Hwang <syeon.hwang@samsung.com>
Fri, 1 Jul 2016 05:28:35 +0000 (14:28 +0900)
committerSeokYeon Hwang <syeon.hwang@samsung.com>
Mon, 4 Jul 2016 04:42:57 +0000 (13:42 +0900)
Change-Id: I509ac53971101779915fe5115b22d1959ba411b8
Signed-off-by: SeokYeon Hwang <syeon.hwang@samsung.com>
configure
tizen/emulator_configure.sh

index 66d8831b1ac212bb34274e24deb52f71d04cfa7d..a4facfd0fcbd3da723f956476b5f6bac3ccd89ec 100755 (executable)
--- a/configure
+++ b/configure
@@ -4678,7 +4678,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
index c812ffdf44c2b893d6554fa8dde85883939b8dfa..df17a03ac5b77eaf7321b364565656212de89861 100755 (executable)
@@ -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 \