Resolves: #1786090 - build with -g for debuginfo
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
parent
0586e0afda
commit
bad1c3ca72
@ -1,4 +1,4 @@
|
|||||||
%global with_debug 0
|
%global with_debug 1
|
||||||
%global with_check 0
|
%global with_check 0
|
||||||
|
|
||||||
%if 0%{?with_debug}
|
%if 0%{?with_debug}
|
||||||
@ -40,6 +40,7 @@ Requires: glib2
|
|||||||
|
|
||||||
%prep
|
%prep
|
||||||
%autosetup -Sgit -n %{name}-%{commit0}
|
%autosetup -Sgit -n %{name}-%{commit0}
|
||||||
|
%{__sed} -i 's/$(CFLAGS)/$(CFLAGS) -g/' Makefile
|
||||||
|
|
||||||
%build
|
%build
|
||||||
%{__make} all
|
%{__make} all
|
||||||
|
Loading…
Reference in New Issue
Block a user