From 94d149fb083f5c001f9a2b327dca99113f70345a Mon Sep 17 00:00:00 2001 From: Hyunbin Lee Date: Thu, 18 Apr 2013 22:01:05 +0900 Subject: [PATCH] Add _SECURE_LOG define Change-Id: I22a0126c7eccc6de9a719dc76a6695191e775ca7 Signed-off-by: Hyunbin Lee --- packaging/osp-env-config.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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 -- 2.7.4