* use "" to eval macro
* egl: fix 'enable also for Tizen 3.0 Mobile'
* unset CFLAGS, CXXFLAGS and LFLAGS for all builds
Change-Id: I99d04d2c638f68e2042058bd76ef0626b36d5eab
Signed-off-by: Mikko Ylinen <mikko.ylinen@intel.com>
%endif
-%if "%{profile}" == "mobile" && 0%{tizen_version_major} < 3
+%if "%{profile}" == "mobile" && "%{tizen_version_major}" < "3"
%define _with_tizenscim 1
%endif
%define _with_xscrnsaver 1
%endif
-%if "%{profile}" != "wearable" && "%{profile}" != "mobile" && 0%{tizen_version_major} < 3
+%if "%{profile}" != "wearable" && "%{profile}" != "mobile" && "%{tizen_version_major}" > "2"
%define _with_egl 1
%endif
%endif
%endif
-%if "%{profile}" == "mobile"
%ifarch %arm armv7l %{aarch64}
unset CFLAGS CXXFLAGS LFLAGS
%endif
-%endif
MAKEFLAGS=%{?_smp_mflags} \
./configure --disable-static \