Add _SECURE_LOG define tizen_2.1 2.1b_release accepted/tizen/20130520.101514 accepted/tizen_2.1/20130425.034821 submit/tizen/20130517.045518 submit/tizen_2.1/20130424.232428
authorHyunbin Lee <hyunbin.lee@samsung.com>
Thu, 18 Apr 2013 13:01:05 +0000 (22:01 +0900)
committerHyunbin Lee <hyunbin.lee@samsung.com>
Thu, 18 Apr 2013 13:02:32 +0000 (22:02 +0900)
Change-Id: I22a0126c7eccc6de9a719dc76a6695191e775ca7
Signed-off-by: Hyunbin Lee <hyunbin.lee@samsung.com>
packaging/osp-env-config.spec

index 1bc56fa..0ae5ba1 100755 (executable)
@@ -20,9 +20,9 @@ osp application environment cofiguration serivce
 %build 
 MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'`
 %ifarch %{ix86} x86_64
-CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" %cmake .
+CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_ -D_SECURE_LOG" %cmake .
 %else
-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_" %cmake .
+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_ -D_SECURE_LOG" %cmake .
 %endif
 
 # Call make instruction with smp support