From cb4f4feb205301c4b97a9fdfc7e546b681e7012d Mon Sep 17 00:00:00 2001 From: Hailiang Date: Sat, 17 May 2025 16:42:49 +0800 Subject: [PATCH] fix sw_64 build error (cherry picked from commit 67bcd7dbb3c8c9265207712bee50690d4cd3bf3c) --- freeimage.spec | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/freeimage.spec b/freeimage.spec index d3f8994..1587606 100644 --- a/freeimage.spec +++ b/freeimage.spec @@ -2,7 +2,7 @@ Name: freeimage Version: 3.18.0 -Release: 14 +Release: 15 Summary: FreeImage is a library project for developers who would like to support popular graphics image formats (PNG, JPEG, TIFF, BMP and others) License: GPL-2.0-only OR GPL-3.0-only and FreeImage URL: https://freeimage.sourceforge.io/ @@ -69,7 +69,7 @@ done %build sh ./gensrclist.sh sh ./genfipsrclist.sh -%ifarch %{power64} %{mips32} aarch64 +%ifarch %{power64} %{mips32} aarch64 sw_64 %make_build -f Makefile.gnu CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}" %make_build -f Makefile.fip CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}" %else @@ -107,6 +107,9 @@ install -Dpm 644 Wrapper/FreeImagePlus/FreeImagePlus.h %{buildroot}%{_includedir %{_libdir}/lib%{name}plus.so %changelog +* Sat May 17 2025 mahailiang - 3.18.0-15 +- fix sw_64 build error + * Sun Oct 27 2024 Funda Wang - 3.18.0-14 - cleanup spec - finally fix linkage -- Gitee