From: Jihoon Kim Date: Mon, 4 Jul 2016 04:25:54 +0000 (+0900) Subject: Add -Werror build option X-Git-Tag: accepted/tizen/common/20160712.150715~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Fchanges%2F28%2F78028%2F1;p=platform%2Fcore%2Fuifw%2Flibscl-ui.git Add -Werror build option Change-Id: I77a7bad5b48186b5ecf23dcdcfc1a4e5f55734ca --- diff --git a/packaging/libscl-ui.spec b/packaging/libscl-ui.spec index 465a1cc..c8a162a 100644 --- a/packaging/libscl-ui.spec +++ b/packaging/libscl-ui.spec @@ -42,6 +42,9 @@ A devel package of libscl-ui library that helps developing S/W Keyboard rm -rf CMakeFiles rm -rf CMakeCache.txt +export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" +export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror" + %if "%{profile}" == "wearable" CFLAGS+=" -D_WEARABLE"; CXXFLAGS+=" -D_WEARABLE";