--- a/qt4.spec +++ b/qt4.spec @@ -60,6 +60,11 @@ %define libqtdeclarative %mklibname qtdeclarative %{major} %define libqtopenvg %mklibname qtopenvg %{major} +# -reduce-relocations requires -fPIC; +# applications using Qt will also require -fPIC; +# bellow %%optflags are added to default flags for all Qt apps +%global optflags %{optflags} -fPIC + Summary: Qt GUI Toolkit Name: qt4 Version: 4.8.7