Details
-
Bug
-
Resolution: Invalid
-
P2: Important
-
None
-
5.4.1, 5.5.1
-
None
-
RHEL 7
Ubuntu 15.10
Description
qglobal.h forces fPIC with gcc > 5.
CMake has long removed fPIC from an executable's compilation. Please see https://cmake.org/Bug/view.php?id=9659
This prevents me from compiling an executable using a cmake configuration with gcc 5+ compilers.
CMake's ticket indicates and I quote "Linking executables with -fPIC is just wrong and even considered a policy violation on Debian".