It was hanging for hours when cross compiling. This patch should fix it. Source for the patch: <https://phabricator.kde.org/D12231>