Add -Werror build option 28/78028/1
authorJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jul 2016 04:25:54 +0000 (13:25 +0900)
committerJihoon Kim <jihoon48.kim@samsung.com>
Mon, 4 Jul 2016 04:26:00 +0000 (13:26 +0900)
Change-Id: I77a7bad5b48186b5ecf23dcdcfc1a4e5f55734ca

packaging/libscl-ui.spec

index 465a1cc..c8a162a 100644 (file)
@@ -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";