From c1b5bfe982422e6423d42895414708b119451e71 Mon Sep 17 00:00:00 2001 From: SeokYeon Hwang Date: Thu, 24 Apr 2014 20:59:49 +0900 Subject: [PATCH] build: some warnings treated as error on windows Add next compiler options. -Werror=implicit-function-declaration -Werror=implicit-int Change-Id: If6011e64b0844c92d80442f1e07adde77c2b4fa7 Signed-off-by: SeokYeon Hwang --- tizen/emulator_configure.sh | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/tizen/emulator_configure.sh b/tizen/emulator_configure.sh index 55958d1d25..c8393f4c72 100755 --- a/tizen/emulator_configure.sh +++ b/tizen/emulator_configure.sh @@ -216,7 +216,7 @@ else fi # append common flags -CONFIGURE_APPEND="--enable-maru --enable-libav --enable-curl $CONFIGURE_APPEND" +CONFIGURE_APPEND="--enable-maru --enable-libav --enable-curl --disable-gtk $CONFIGURE_APPEND" if [ -z ${PKG_CONFIG_PATH} ] ; then # avoid pkg-config bug on Windows export PKG_CONFIG_PATH=${TIZEN_SDK_DEV_PATH}/distrib/lib/pkgconfig @@ -246,6 +246,8 @@ echo "" echo "##### QEMU configuring for emulator" echo "##### QEMU configure append:" $CONFIGURE_APPEND exec ./configure \ + --extra-cflags=-Werror=implicit-function-declaration \ + --extra-cflags=-Werror=implicit-int \ --extra-ldflags=-Wl,--large-address-aware \ --cc=gcc \ --audio-drv-list=winwave \ -- 2.34.1