From faa587dbb0cb173f7853bf18767e1febbe679e1a Mon Sep 17 00:00:00 2001 From: luofeng14 Date: Sun, 25 Feb 2024 10:25:09 +0000 Subject: [PATCH] support clang build Signed-off-by: luofeng14 --- libwebp.spec | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/libwebp.spec b/libwebp.spec index 5fade19..b96f186 100644 --- a/libwebp.spec +++ b/libwebp.spec @@ -1,6 +1,6 @@ Name: libwebp Version: 1.3.2 -Release: 2 +Release: 3 URL: https://www.webmproject.org Summary: Library and tools for the WebP graphics format License: BSD @@ -67,7 +67,7 @@ swig -ignoremissing -I../src -java \ -outdir java/com/google/webp \ -o libwebp_java_wrap.c libwebp.swig -gcc %{__global_ldflags} %{optflags} -shared \ +%{__cc} %{__global_ldflags} %{optflags} -shared \ -I/usr/lib/jvm/java/include \ -I/usr/lib/jvm/java/include/linux \ -I../src \ @@ -113,6 +113,12 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/ %{_mandir}/man*/* %changelog +* Thu Feb 22 2024 luofng - 1.3.2-3 +- Type: enhencement +- CVE:NA +- SUG:NA +- DESC:support for building with clang + * Tue Sep 26 2023 liweigang - 1.3.2-2 - backport CVE-2023-4863 -- Gitee