qt5base-lts/mkspecs/common
Olivier Goffart 482d96a0c5 Force -fPIE on ELF if Qt is built with reduced relocations
Put in qconfig.h whether qt is compiled with reduced relocations.

When using -Bsymbolic-functions (enabled by default on Qt)
but not -fPIE, the comparison of the function pointers fail
because the addresses are different in Qt, and in the executable.

Hence we now enable -fPIE by default on qmake, and force a compilation
error when it is not enabled and built with reduced relocations.

Done-with: Sune Vuorela <sune@vuorela.dk>
Change-Id: Ib3fdba06fab6e8a93b75b4c6cf16cc973ab335db
Reviewed-by: Bradley T. Hughes <bradley.hughes@nokia.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
2012-02-10 11:42:31 +01:00
..
aix Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
c89 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
mac Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
nacl Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
posix Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
armcc.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
clang.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
g++-base.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
g++-macx.conf Set macosx-version-min in common Mac OS X mkspec instead of configure 2012-01-23 14:47:10 +01:00
g++-unix.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
g++.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
gcc-base-macx.conf Set macosx-version-min in common Mac OS X mkspec instead of configure 2012-01-23 14:47:10 +01:00
gcc-base-unix.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
gcc-base.conf Force -fPIE on ELF if Qt is built with reduced relocations 2012-02-10 11:42:31 +01:00
linux.conf Add a wayland-scanner rule to qmake 2011-12-12 17:27:19 +01:00
llvm.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
mac.conf Remove QMAKE_MACOS_DEPLOYMENT_TARGET. 2011-05-19 09:18:46 +02:00
qcc-base-qnx.conf Add mkspecs for Blackberry Playbook NDK 2012-01-26 20:12:21 +01:00
qcc-base.conf Add mkspecs for Blackberry Playbook NDK 2012-01-26 20:12:21 +01:00
qws.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00
unix.conf Initial import from the monolithic Qt. 2011-04-27 12:05:43 +02:00