diff --git a/ltrace.spec b/ltrace.spec index a6e2a8f6717876b601ff538255c0e6cfe3e4cb47..44f30382d5990207d1bebe8a3e112a11cb1ee8fc 100644 --- a/ltrace.spec +++ b/ltrace.spec @@ -1,6 +1,6 @@ name: ltrace Version: 0.7.91 -Release: 32 +Release: 33 Summary: Trace the Library and System Calls a Program Makes License: GPLv2+ @@ -59,6 +59,11 @@ Help document for the ltrace package. %build autoreconf -i + +%if "%toolchain" == "clang" + CFLAGS="$CFLAGS -Wno-error=enum-conversion -Wno-error=string-plus-int" +%endif + %configure --docdir=%{?_pkgdocdir}%{!?_pkgdocdir:%{_docdir}/%{name}-%{version}} %make_build @@ -78,6 +83,9 @@ autoreconf -i %{_mandir}/man5/ltrace.conf.5* %changelog +* Thu Apr 20 2023 jammyjellyfish - 0.7.91-33 +- Fix clang build error + * Thu Dec 15 2022 Hui Li - 0.7.91-32 - Add suppot for loongarch