summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRithesh Gowda <rithesh.g@samsung.com>2013-12-11 10:33:16 +0530
committerHyunbin Lee <hyunbin.lee@samsung.com>2013-12-23 15:55:38 +0900
commitc337c11e7220795ed2717755a0edd215dc08a1c7 (patch)
tree2db7f14f2301cbb84a776ac6d02bb4dee2143ea1
parentc08f1de1c5ee12927dddf7a0e1f7059f7e47f57c (diff)
downloadenv-config-c337c11e7220795ed2717755a0edd215dc08a1c7.tar.gz
env-config-c337c11e7220795ed2717755a0edd215dc08a1c7.tar.bz2
env-config-c337c11e7220795ed2717755a0edd215dc08a1c7.zip
Updated Spec file for enabling debug macro
Change-Id: I5f71a35f47637038c7093c0126c100af37b2d2e2 Signed-off-by: Rithesh Gowda <rithesh.g@samsung.com>
-rw-r--r--packaging/osp-env-config.spec8
1 files changed, 4 insertions, 4 deletions
diff --git a/packaging/osp-env-config.spec b/packaging/osp-env-config.spec
index 27f130d..05e9612 100644
--- a/packaging/osp-env-config.spec
+++ b/packaging/osp-env-config.spec
@@ -29,8 +29,8 @@ osp application environment cofiguration serivce (devel)
cp %{SOURCE1001} .
%build
-%if 0%{?tizen_build_binary_release_type_eng}
-CFLAGS="$CFLAGS -DTIZEN_ENGINEER_MODE"
+%if 0%{?sec_build_binary_debug_enable}
+CFLAGS="$CFLAGS -DTIZEN_DEBUG_ENABLE"
%endif
MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
@@ -41,8 +41,8 @@ CFLAGS="$CFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" %cmake . -DFULLVER=%{ver
CFLAGS="$CFLAGS -D_OSP_DEBUG_ -D_OSP_X86_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%endif
%else
-%if 0%{?tizen_build_binary_release_type_eng}
-CFLAGS="-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_ -DTIZEN_ENGINEER_MODE" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
+%if 0%{?sec_build_binary_debug_enable}
+CFLAGS="-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_ -DTIZEN_DEBUG_ENABLE" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%else
CFLAGS="-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_" %cmake . -DFULLVER=%{version} -DMAJORVER=${MAJORVER}
%endif