Change-Id: Ief2ca44febee0b0077d5e94dd614c41440bab214
Signed-off-by: Rithesh Gowda <rithesh.g@samsung.com>
CXXFLAGS="-O2 -g -pipe -Wall -fno-exceptions -Wformat -Wformat-security -Wl,--as-needed -fmessage-length=0 -march=armv7-a -mtune=cortex-a8 -mlittle-endian -mfpu=neon -mfloat-abi=softfp -D__SOFTFP__ -mthumb -Wa,-mimplicit-it=thumb -funwind-tables -D_OSP_DEBUG_ -D_OSP_ARMEL_"
%endif
-%if 0%{?tizen_build_binary_release_type_eng}
- CXXFLAGS="$CXXFLAGS -D_SECURE_LOG"
+%if 0%{?sec_build_binary_debug_enable}
+ CXXFLAGS="$CXXFLAGS -D_SECURE_LOG -DTIZEN_DEBUG_ENABLE"
%endif
cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=${ARCH}