build with DEBUGTAG=enable_debug

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-09-03 11:14:05 -04:00
parent edbe2ec773
commit 5ec855efd4

View File

@ -40,10 +40,9 @@ Requires: glib2
%prep
%autosetup -Sgit -n %{name}-%{commit0}
%{__sed} -i 's/$(CFLAGS)/$(CFLAGS) -g/' Makefile
%build
%{__make} all
%{__make} DEBUGTAG="enable_debug" all
%install
%{__make} PREFIX=%{buildroot}%{_prefix} install install.crio