From: Hyunbin Lee Date: Thu, 18 Apr 2013 13:01:05 +0000 (+0900) Subject: Add _SECURE_LOG define X-Git-Tag: 2.1b_release^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=94d149fb083f5c001f9a2b327dca99113f70345a;p=framework%2Fosp%2Fenv-config.git Add _SECURE_LOG define Change-Id: I22a0126c7eccc6de9a719dc76a6695191e775ca7 Signed-off-by: Hyunbin Lee --- diff --git a/packaging/osp-env-config.spec b/packaging/osp-env-config.spec index 1bc56fa..0ae5ba1 100755 --- a/packaging/osp-env-config.spec +++ b/packaging/osp-env-config.spec @@ -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