Build with -fPIC on fedora, as is now required (https://fedoraproject.org/wiki/Changes/Harden_All_Packages)
(cherry picked from commit e869086530
)
This commit is contained in:
parent
c54ab370ff
commit
6cec8e6e41
|
@ -61,7 +61,7 @@ Features include:
|
||||||
|
|
||||||
%build
|
%build
|
||||||
cd bin
|
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}
|
make %{?_smp_mflags}
|
||||||
|
|
||||||
%install
|
%install
|
||||||
|
|
Loading…
Reference in New Issue