Resolves: #1786090 - build with -g for debuginfo

Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
Lokesh Mandvekar 2020-09-02 08:59:53 -04:00
parent 0586e0afda
commit bad1c3ca72

View File

@ -1,4 +1,4 @@
%global with_debug 0
%global with_debug 1
%global with_check 0
%if 0%{?with_debug}
@ -40,6 +40,7 @@ Requires: glib2
%prep
%autosetup -Sgit -n %{name}-%{commit0}
%{__sed} -i 's/$(CFLAGS)/$(CFLAGS) -g/' Makefile
%build
%{__make} all