Ensure SCL devtools are enabled for build

This commit is contained in:
Markus Frosch 2019-03-12 13:51:44 +01:00
parent 519433f9bd
commit dc895d630a
1 changed files with 2 additions and 2 deletions

View File

@ -352,7 +352,7 @@ CMAKE_OPTS="$CMAKE_OPTS -DICINGA2_BUILD_HOST_NAME:STRING=%_buildhost"
%{?scl_enable} cmake $CMAKE_OPTS -DCMAKE_C_FLAGS:STRING="%{optflags} %{?march_flag}" -DCMAKE_CXX_FLAGS:STRING="%{optflags} %{?march_flag}" .
make %{?_smp_mflags}
%{?scl_enable} make %{?_smp_mflags}
%if 0%{?use_selinux}
cd tools/selinux
@ -366,7 +366,7 @@ cd -
%endif
%install
make install \
%{?scl_enable} make install \
DESTDIR="%{buildroot}"
# install custom limits.conf for systemd