From: SooChan Lim Date: Thu, 19 May 2016 08:43:36 +0000 (+0900) Subject: add -Werror to catch the build warnings X-Git-Tag: accepted/tizen/3.0.m2/mobile/20170104.143147^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fheads%2Ftizen_3.0_tv;p=platform%2Fcore%2Fuifw%2Flibgbm.git add -Werror to catch the build warnings Change-Id: I98966a119c753c9f1848b217dea046a7484f2501 --- diff --git a/packaging/libgbm.spec b/packaging/libgbm.spec index 02568af..757853c 100644 --- a/packaging/libgbm.spec +++ b/packaging/libgbm.spec @@ -30,7 +30,8 @@ Development header files for use with Wayland GBM %setup -q -n %{name} %build -%reconfigure --disable-static --enable-tbm --enable-tbm-queue +%reconfigure --disable-static --enable-tbm --enable-tbm-queue \ + CFLAGS="${CFLAGS} -Wall -Werror" make libdir=%{_libdir} major_ver=%{MAJOR_VER} minor_ver=%{MINOR_VER} %install