Fix build error when Werror option is on
[platform/core/uifw/inputdelegator.git] / packaging / org.tizen.inputdelegator.spec
index 0416a7d..5d24c27 100755 (executable)
@@ -67,11 +67,9 @@ Input Delegator Application for Wearable environment
 %setup -q
 
 %build
-%if 0%{?sec_build_binary_debug_enable}
 export CFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror"
 export CXXFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror"
 export FFLAGS+=" -DTIZEN_DEBUG_ENABLE -Werror"
-%endif
 
 export CXXFLAGS="$CXXFLAGS -std=gnu++0x"