qt5base-lts/tests/auto/corelib/kernel
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
..
qcoreapplication Make "nmake check" pass for corelib tests in Windows. 2012-02-09 12:52:28 +01:00
qeventloop Add the event loop quitlock feature to QtCore. 2012-01-31 23:22:15 +01:00
qmath Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetaobject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetaobjectbuilder Initialize dynamic meta object extradata. 2012-02-08 09:53:23 +01:00
qmetaproperty Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qmetatype Detect incompatibilities in repeated type registration 2012-02-07 09:47:51 +01:00
qmimedata Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qobject Force -fPIE on ELF if Qt is built with reduced relocations 2012-02-10 11:42:31 +01:00
qpointer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsignalmapper Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qsocketnotifier Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtimer Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qtranslator Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qvariant Introduce Q_DECLARE_OPAQUE_POINTER 2012-02-09 00:32:41 +01:00
qwineventnotifier Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
kernel.pro Add missing subdirectory to kernel.pro file. 2012-01-10 01:25:45 +01:00