patch from https://github.com/archlinux/svntogit-packages/blob/packages/qt5-base/trunk/qt5-base-cflags.patch
it needs a rebuild of all qmake packages to take effect and check that new CFLAGS didn't break anything, but i think we should do #13246 and -fno-plt first then do the rebuild after