public inbox for git-commits@fedoraproject.org
help / color / mirror / Atom feed
From: Karsten Hopp <karsten@redhat.com>
To: git-commits@fedoraproject.org
Subject: [rpms/freeimage] epel10.3: ppc64 and ppc64le need -fPIC (rhbz#1272048)
Date: Wed, 18 Nov 2026 02:41:40 GMT [thread overview]
Message-ID: <179496970013.1.5906807693602949453.rpms-freeimage-7322eb5e7482@fedoraproject.org> (raw)
A new commit has been pushed.
Repo : rpms/freeimage
Branch : epel10.3
Commit : 7322eb5e74825838328503f97acf74b892576ee7
Author : Karsten Hopp <karsten@redhat.com>
Date : 2015-10-15T13:08:13+02:00
Stats : +9/-1 in 1 file(s)
URL : https://src.fedoraproject.org/rpms/freeimage/c/7322eb5e74825838328503f97acf74b892576ee7?branch=epel10.3
Log:
ppc64 and ppc64le need -fPIC (rhbz#1272048)
---
diff --git a/freeimage.spec b/freeimage.spec
index c49a26d..1e28f0c 100644
--- a/freeimage.spec
+++ b/freeimage.spec
@@ -3,7 +3,7 @@
Name: freeimage
Version: 3.17.0
-Release: 2%{?dist}
+Release: 3%{?dist}
Summary: Multi-format image decoder library
# freeimage is tripple-licensed, see
@@ -87,8 +87,13 @@ done
%build
sh ./gensrclist.sh
sh ./genfipsrclist.sh
+%ifarch %{power64}
+make -f Makefile.gnu %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}"
+make -f Makefile.fip %{?_smp_mflags} CFLAGS="%{optflags} -fPIC" CXXFLAGS="%{optflags} -fPIC" LDFLAGS="%{__global_ldflags}"
+%else
make -f Makefile.gnu %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
make -f Makefile.fip %{?_smp_mflags} CFLAGS="%{optflags}" CXXFLAGS="%{optflags}" LDFLAGS="%{__global_ldflags}"
+%endif
pushd Wrapper/FreeImagePlus/doc
doxygen FreeImagePlus.dox
@@ -141,6 +146,9 @@ ldconfig -n %{buildroot}%{_libdir}
%changelog
+* Thu Oct 15 2015 Karsten Hopp <karsten@redhat.com> 3.17.0-3
+- ppc64 and ppc64le need -fPIC (rhbz#1272048)
+
* Wed Sep 30 2015 Sandro Mani <manisandro@gmail.com> - 3.17.0-2
- Fix under-linked library
reply other threads:[~2026-11-18 2:41 UTC|newest]
Thread overview: [no followups] expand[flat|nested] mbox.gz Atom feed
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=179496970013.1.5906807693602949453.rpms-freeimage-7322eb5e7482@fedoraproject.org \
--to=karsten@redhat.com \
--cc=git-commits@fedoraproject.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox