From bad1c3ca72928f54c858bbf85e7b6daa3f6f7396 Mon Sep 17 00:00:00 2001 From: Lokesh Mandvekar Date: Wed, 2 Sep 2020 08:59:53 -0400 Subject: [PATCH] Resolves: #1786090 - build with -g for debuginfo Signed-off-by: Lokesh Mandvekar --- conmon.spec | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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