diff --git a/python-qt5.spec b/python-qt5.spec index 3fb9266..e5fbb93 100644 --- a/python-qt5.spec +++ b/python-qt5.spec @@ -182,7 +182,7 @@ pushd %{_target_platform} --verbose \ QMAKE_CFLAGS_RELEASE="%{optflags}" \ QMAKE_CXXFLAGS_RELEASE="%{optflags}" \ - LFLAGS="%{?__global_ldflags}" + QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}" make %{?_smp_mflags} popd @@ -201,7 +201,7 @@ pushd %{_target_platform}-python3 --verbose \ QMAKE_CFLAGS_RELEASE="%{optflags}" \ QMAKE_CXXFLAGS_RELEASE="%{optflags}" \ - LFLAGS="%{?__global_ldflags}" + QMAKE_LFLAGS_RELEASE="%{?__global_ldflags}" make %{?_smp_mflags} popd