From b0e8c0af223934129bb5ebb34871a99c8b2b0bad Mon Sep 17 00:00:00 2001 From: "hs321.lee" Date: Fri, 19 Apr 2013 09:56:21 +0900 Subject: [PATCH] Add the flag for the secure log Change-Id: I0a9b1e2a6d78040b385005e40cb2d5b42460c56c Signed-off-by: hs321.lee --- packaging/osp-social.spec | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/packaging/osp-social.spec b/packaging/osp-social.spec index 1c3cb03..108c49d 100755 --- a/packaging/osp-social.spec +++ b/packaging/osp-social.spec @@ -63,7 +63,7 @@ MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} %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 . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=arm +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_SECURE_LOG -D_OSP_ARMEL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DOBS=1 -DFULLVER=%{version} -DMAJORVER=${MAJORVER} -DARCH=arm %endif # Call make instruction with smp support -- 2.7.4