Change-Id: Ied4e80af6c9a503795455b9250da39b68d28057a
Signed-off-by: Kévin THIERRY <kevin.thierry@open.eurogiciel.org>
%__cmake cmake
%cmake \
- CFLAGS="${CFLAGS:-%optflags}" ; export CFLAGS ; \
- CXXFLAGS="${CXXFLAGS:-%optflags}" ; export CXXFLAGS ; \
- FFLAGS="${FFLAGS:-%optflags}" ; export FFLAGS ; \
%__cmake \\\
-DCMAKE_VERBOSE_MAKEFILE=ON \\\
-DCMAKE_INSTALL_PREFIX:PATH=%{_prefix} \\\
find %{?buildroot:%{buildroot}} -regex ".*\\.la$" | xargs rm -f -- \
%{!?keepstatic:find %{?buildroot:%{buildroot}} -regex ".*\\.a$" | xargs rm -f --}
-%_smp_mflags %([ -z "$RPM_BUILD_NCPUS" ] \\\
- && RPM_BUILD_NCPUS="`/usr/bin/getconf _NPROCESSORS_ONLN`"; \\\
- [ "$RPM_BUILD_NCPUS" -gt 1 ] && echo "-j$RPM_BUILD_NCPUS")
+%_smp_mflags \${PARALLEL_MAKE}
%lang_package(n:f:) \
%package %{-n:-n %{-n*}-}locale \
%undefine _enable_debug_packages \
%debug_package
-
-%jobs 16
-%_smp_mflags -j16
%define _with_wayland 1
%define _with_mesa 1
-
-
%define _with_wayland 1
%define _with_tizen 1
%define _with_mesa 1
%define _wrt_option_bluetooth 1
%define _wrt_option_msg_port 1
%define _wrt_option_call_history 1
+
+%optflags \${CFLAGS}