mirror of
https://gitlab.com/redhat/centos-stream/rpms/conmon.git
synced 2026-05-04 23:42:20 +00:00
Resolves: #1786090 - build with -g for debuginfo
Signed-off-by: Lokesh Mandvekar <lsm5@fedoraproject.org>
This commit is contained in:
+2
-1
@@ -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
|
||||||
|
|||||||
Reference in New Issue
Block a user