From: Gongwook Lee Date: Thu, 18 Apr 2013 13:32:09 +0000 (+0900) Subject: Add SECURE_LOG build option X-Git-Tag: submit/tizen_2.1/20130424.232626^0 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=b728e7977586b76ac73484a81231e96ade33279d;p=platform%2Fframework%2Fnative%2Fspeech.git Add SECURE_LOG build option Change-Id: Ic680bb08077af6ba34b469232dd10b4835160988 Signed-off-by: Gongwook Lee --- diff --git a/packaging/osp-speech.spec b/packaging/osp-speech.spec old mode 100755 new mode 100644 index ba01da2..88cb2ca --- a/packaging/osp-speech.spec +++ b/packaging/osp-speech.spec @@ -50,9 +50,9 @@ osp speech library (DEV) %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} -CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} +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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} +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} -DFULLVER=%{version} -DMAJORVER=${MAJORVER} %endif # Call make instruction with smp support