Commit dc895d63 authored by Markus Frosch's avatar Markus Frosch
Browse files

Ensure SCL devtools are enabled for build

parent 519433f9
......@@ -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
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment