The arch-specific linux-g++-aarch64 mkspec, based on an earlier aarch64 patch for Fedora qt, exists primarily to add -fpermissive for JSC. However, as a nonstandard mkspec, qmake-based projects would not be expected to check for it, resulting in build issues when only the known linux-g++ mkspecs are used in a conditional. This is causing epel7 x2goclient to FTBFS on RHELSA 7.2.
Please rebase the aarch64 patch to a more recent Fedora version, which uses a standard linux-g++ mkspec.
Can be done, granting dev_ack+.
Fixed in qt-4.8.5-12.el7.
Since the problem described in this bug report should be
resolved in a recent advisory, it has been closed with a
resolution of ERRATA.
For information on the advisory, and where to find the updated
files, follow the link below.
If the solution does not work for you, open a new bug report.