From 72ce14f91b8b196084a0bc33cb224f036c5f445e Mon Sep 17 00:00:00 2001 From: Jaesung Ku Date: Thu, 18 Apr 2013 22:18:48 +0900 Subject: [PATCH] Update for secure log Change-Id: I3750db6a3e8a241d39f26580260c6219a6b3579f Signed-off-by: Jaesung Ku --- packaging/osp-loader.spec | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/packaging/osp-loader.spec b/packaging/osp-loader.spec index 68f62fe..aa80f84 100755 --- a/packaging/osp-loader.spec +++ b/packaging/osp-loader.spec @@ -21,9 +21,9 @@ osp application loader %build %ifarch %{ix86} x86_64 -CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" %cmake . +CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_SECURE_LOG -D_OSP_X86_ -D_OSP_EMUL_" %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_SECURE_LOG -D_OSP_ARMEL_" %cmake . %endif # Call make instruction with smp support -- 2.7.4