From bad1c3ca72928f54c858bbf85e7b6daa3f6f7396 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Sep 02 2020 12:59:53 +0000 Subject: Resolves: #1786090 - build with -g for debuginfo Signed-off-by: Lokesh Mandvekar --- diff --git a/conmon.spec b/conmon.spec index b9cf4ce..0496636 100644 --- a/conmon.spec +++ b/conmon.spec @@ -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