Updated Spec file for enabling debug macro 88/14088/1 submit/tizen/20131227.074011
authorRithesh Gowda <rithesh.g@samsung.com>
Wed, 11 Dec 2013 05:05:44 +0000 (10:35 +0530)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Mon, 23 Dec 2013 06:52:02 +0000 (15:52 +0900)
Change-Id: Ief2ca44febee0b0077d5e94dd614c41440bab214
Signed-off-by: Rithesh Gowda <rithesh.g@samsung.com>
packaging/osp-channel-service.spec

index 572d4de..40a0b08 100755 (executable)
@@ -48,8 +48,8 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
        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}