problem solved, i added "%{optflags}" flags ... %{qmake_qt5} \ QMAKE_CFLAGS+="%{optflags}" \ QMAKE_CXXFLAGS+="%{optflags}" make %{?_smp_mflags} -- packaging mailing list packaging@xxxxxxxxxxxxxxxxxxxxxxx http://lists.fedoraproject.org/admin/lists/packaging@xxxxxxxxxxxxxxxxxxxxxxx