From: jh0522.choi Date: Wed, 21 Aug 2013 01:56:41 +0000 (+0900) Subject: Add to check condition for emulator in spec file X-Git-Tag: submit/tizen/20130830.084259 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=refs%2Ftags%2Fsubmit%2Ftizen%2F20130830.084259;p=platform%2Fframework%2Fnative%2Fcertificate-selector.git Add to check condition for emulator in spec file --- diff --git a/packaging/apps.CertificateSelector.spec b/packaging/apps.CertificateSelector.spec index bd58121..df53e95 100644 --- a/packaging/apps.CertificateSelector.spec +++ b/packaging/apps.CertificateSelector.spec @@ -27,8 +27,12 @@ The app-control of the certificate manager %build MAJORVER=`echo %{version} | awk 'BEGIN {FS="."}{print $1}'` %ifarch %{ix86} +%if 0%{?simulator} CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ -D_OSP_EMUL_" cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} %else +CXXFLAGS="$CXXFLAGS -D_OSP_DEBUG_ -D_OSP_X86_ " cmake . -DCMAKE_INSTALL_PREFIX=%{_prefix} +%endif +%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} %endif