From ae5d34445eee38daa4349a9ea0340b3faa324ded Mon Sep 17 00:00:00 2001 From: SooChan Lim Date: Thu, 19 May 2016 17:43:36 +0900 Subject: [PATCH] add -Werror to catch the build warnings Change-Id: I98966a119c753c9f1848b217dea046a7484f2501 --- packaging/libgbm.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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 -- 2.7.4