From 6cec8e6e41f6219e97544f9a6199a3cb4fbd8fb0 Mon Sep 17 00:00:00 2001 From: David Sansome Date: Thu, 31 Dec 2015 13:07:08 +1100 Subject: [PATCH] Build with -fPIC on fedora, as is now required (https://fedoraproject.org/wiki/Changes/Harden_All_Packages) (cherry picked from commit e869086530572684000921f2abec6d96aaa7df1d) --- dist/clementine.spec.in | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/dist/clementine.spec.in b/dist/clementine.spec.in index da8407e7b..146b30f4b 100644 --- a/dist/clementine.spec.in +++ b/dist/clementine.spec.in @@ -61,7 +61,7 @@ Features include: %build cd bin -%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON +%{cmake} .. -DUSE_INSTALL_PREFIX=OFF -DBUNDLE_PROJECTM_PRESETS=ON -DCMAKE_POSITION_INDEPENDENT_CODE=ON make %{?_smp_mflags} %install