From 1524daab38556467cce009bc904308ca660a3833 Mon Sep 17 00:00:00 2001 From: Dan Mick Date: Thu, 23 Mar 2017 19:34:28 -0700 Subject: [PATCH] ceph.spec.in: move lowmem_build setting of _smp_mflags Signed-off-by: Dan Mick --- ceph.spec.in | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/ceph.spec.in b/ceph.spec.in index 3aa1b68fc508..884050ad648f 100644 --- a/ceph.spec.in +++ b/ceph.spec.in @@ -779,6 +779,12 @@ export CXXFLAGS="$RPM_OPT_FLAGS" env | sort +%if %{with lowmem_builder} +%if 0%{?jobs} > 8 +%define _smp_mflags -j8 +%endif +%endif + mkdir build cd build cmake .. \ @@ -820,12 +826,6 @@ cmake .. \ -DWITH_OCF=ON %endif -%if %{with lowmem_builder} -%if 0%{?jobs} > 8 -%define _smp_mflags -j8 -%endif -%endif - make %{?_smp_mflags} -- 2.47.3