]> git-server-git.apps.pok.os.sepia.ceph.com Git - ceph.git/commitdiff
ceph.spec.in: move lowmem_build setting of _smp_mflags
authorDan Mick <dan.mick@redhat.com>
Fri, 24 Mar 2017 02:34:28 +0000 (19:34 -0700)
committerDan Mick <dan.mick@redhat.com>
Fri, 24 Mar 2017 17:53:52 +0000 (10:53 -0700)
Signed-off-by: Dan Mick <dan.mick@redhat.com>
ceph.spec.in

index 3aa1b68fc508bb8f4d817e95878de48fd40b1853..884050ad648f7b4102f8933766c6a3ed2872dd69 100644 (file)
@@ -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}