qt5base-lts/mkspecs
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-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
aix-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
aix-xlc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
aix-xlc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cmake Make modules find their own dependencies. 2012-01-11 01:11:47 +01:00
common Force -fPIE on ELF if Qt is built with reduced relocations 2012-02-10 11:42:31 +01:00
cygwin-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
darwin-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
features Add special casing for static modules. 2012-02-07 17:55:33 +01:00
freebsd-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
freebsd-g++34 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
freebsd-g++40 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
freebsd-icc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpux-acc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpux-acc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpux-acc-o64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpux-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpux-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpuxi-acc-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpuxi-acc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hpuxi-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
hurd-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
irix-cc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
irix-cc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
irix-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
irix-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-arm-gnueabi-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-cxx Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-ecc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-g++-maemo Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc-32 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-icc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-kcc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-lsb-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
linux-pgcc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
lynxos-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-clang Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++40 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-g++42 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-icc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-llvm Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-pbuilder Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-xcode Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macx-xlc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
modules update readme to current reality 2012-01-27 13:55:27 +01:00
netbsd-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
openbsd-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
sco-cc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
sco-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-64-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-cc-stlport Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
solaris-g++-64 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tru64-cxx Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tru64-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
unixware-cc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
unixware-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
unsupported Update contact address in license headers. 2012-01-31 04:54:56 +01:00
win32-g++ Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win32-icc Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win32-msvc2005 Windows: Fix inclusion of <windows.h> 2012-02-01 11:06:19 +01:00
win32-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win32-msvc2010 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-armv4i-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsii-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-mipsiv-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-sh4-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince50standard-x86-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-armv4i-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince60standard-x86-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wince70embedded-armv4i-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wince70embedded-x86-msvc2008 Enable basic gesture support for WEC7. 2012-02-06 05:15:11 +01:00
wincewm50pocket-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50pocket-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm50smart-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm60standard-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2005 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
wincewm65professional-msvc2008 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00