!48 [sync] PR-47: Support build with clang

From: @openeuler-sync-bot 
Reviewed-by: @weidongkl 
Signed-off-by: @weidongkl
This commit is contained in:
openeuler-ci-bot 2024-03-27 08:27:48 +00:00 committed by Gitee
commit e6d496bd52
No known key found for this signature in database
GPG Key ID: 173E9B9CA92EEF8F

View File

@ -1,6 +1,6 @@
Name: libwebp Name: libwebp
Version: 1.3.2 Version: 1.3.2
Release: 2 Release: 3
URL: https://www.webmproject.org URL: https://www.webmproject.org
Summary: Library and tools for the WebP graphics format Summary: Library and tools for the WebP graphics format
License: BSD License: BSD
@ -67,7 +67,7 @@ swig -ignoremissing -I../src -java \
-outdir java/com/google/webp \ -outdir java/com/google/webp \
-o libwebp_java_wrap.c libwebp.swig -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 \
-I/usr/lib/jvm/java/include/linux \ -I/usr/lib/jvm/java/include/linux \
-I../src \ -I../src \
@ -113,6 +113,12 @@ cp swig/*.jar swig/*.so %{buildroot}/%{_libdir}/%{name}-java/
%{_mandir}/man*/* %{_mandir}/man*/*
%changelog %changelog
* Thu Feb 22 2024 luofng <luofeng13@huawei.com> - 1.3.2-3
- Type: enhencement
- CVE:NA
- SUG:NA
- DESC:support for building with clang
* Tue Sep 26 2023 liweigang <liweiganga@uniontech.com> - 1.3.2-2 * Tue Sep 26 2023 liweigang <liweiganga@uniontech.com> - 1.3.2-2
- backport CVE-2023-4863 - backport CVE-2023-4863