From e9f755305563adeeeac6f5476bce3651fc1485e1 Mon Sep 17 00:00:00 2001 From: liyunfei Date: Sun, 4 Feb 2024 03:15:17 +0000 Subject: [PATCH] fix missing -g for clang build add --enable-debug to configure to add -g to compiler Signed-off-by: liyunfei --- c-ares.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/c-ares.spec b/c-ares.spec index ed33f28..fa9aa33 100644 --- a/c-ares.spec +++ b/c-ares.spec @@ -1,6 +1,6 @@ Name: c-ares Version: 1.19.1 -Release: 1 +Release: 2 Summary: A C library for asynchronous DNS requests License: MIT @@ -31,7 +31,7 @@ shared objects are contained in %{name}-devel package. %build autoreconf -if -%configure --enable-shared --disable-static --disable-dependency-tracking +%configure --enable-shared --disable-static --disable-dependency-tracking --enable-debug make %{?_smp_mflags} %install @@ -60,6 +60,12 @@ cd ../ %{_mandir}/man3/* %changelog +* Thu Feb 1 2024 liyunfei - 1.19.1-2 +- Type:bugfix +- ID:NA +- SUG:NA +- DESC:fix missing -g for clang build + * Tue Jul 25 2023 xinghe - 1.19.1-1 - Type:requirements - ID:NA -- Gitee