!81 [sync] PR-78: fix missing -g for clang build

From: @openeuler-sync-bot 
Reviewed-by: @sunsuwan 
Signed-off-by: @sunsuwan
This commit is contained in:
openeuler-ci-bot 2024-04-08 08:47:05 +00:00 committed by Gitee
commit aeb5692f80
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: c-ares Name: c-ares
Version: 1.19.1 Version: 1.19.1
Release: 2 Release: 3
Summary: A C library for asynchronous DNS requests Summary: A C library for asynchronous DNS requests
License: MIT License: MIT
@ -32,7 +32,10 @@ shared objects are contained in %{name}-devel package.
%build %build
autoreconf -if autoreconf -if
%configure --enable-shared --disable-static --disable-dependency-tracking %if "%{?toolchain}" == "clang"
%global conf_opts --enable-debug
%endif
%configure --enable-shared --disable-static --disable-dependency-tracking %{?conf_opts}
make %{?_smp_mflags} make %{?_smp_mflags}
%install %install
@ -61,6 +64,12 @@ cd ../
%{_mandir}/man3/* %{_mandir}/man3/*
%changelog %changelog
* Mon Apr 1 2024 liyunfei<liyunfei33@huawei.com> - 1.19.1-3
- Type:bugfix
- ID:NA
- SUG:NA
- DESC:fix missing -g for clang build
* Tue Feb 27 2024 liweigang <izmirvii@gmail.com> - 1.19.1-2 * Tue Feb 27 2024 liweigang <izmirvii@gmail.com> - 1.19.1-2
- Type: CVE - Type: CVE
- CVE: CVE-2024-25629 - CVE: CVE-2024-25629