[packages/ffmpeg] for openal (which uses protected visibility) explicit -fPIC is required; rel 2

qboosh qboosh at pld-linux.org
Sun Apr 9 19:46:24 CEST 2023


commit d7999432df9062fd67e3f1d57b21bbd4e23ef872
Author: Jan Palus <atler at pld-linux.org>
Date:   Mon Oct 10 14:10:49 2022 +0200

    for openal (which uses protected visibility) explicit -fPIC is required; rel 2

 ffmpeg.spec | 3 +--
 1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/ffmpeg.spec b/ffmpeg.spec
index 3aaa917..b8b36c3 100644
--- a/ffmpeg.spec
+++ b/ffmpeg.spec
@@ -286,14 +286,13 @@ Suggests:	fonts-TTF-Roboto
 Obsoletes:	libpostproc < 2:1.0-1
 BuildRoot:	%{tmpdir}/%{name}-%{version}-root-%(id -u -n)
 
-%define		specflags	-fno-strict-aliasing
+%define		specflags	-fno-strict-aliasing -fPIC
 
 # -fomit-frame-pointer is always needed on x86 due to lack of registers (-fPIC takes one)
 %define		specflags_ia32	-fomit-frame-pointer
 # -mmmx is needed to enable <mmintrin.h> code.
 %define		specflags_i586	-mmmx
 %define		specflags_i686	-mmmx
-%define		specflags_ppc	-fPIC
 
 %description
 FFmpeg is a complete solution to record, convert and stream audio and
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/ffmpeg.git/commitdiff/2f7d498d7b813e5406eaf6b6ca8b60c78d3553bd



More information about the pld-cvs-commit mailing list