qt5base-lts/mkspecs
Thiago Macieira 36d6eb721e Require -fPIC instead of just -fPIE for -reduce-relocations
GCC 5 combined with a recent binutils have a new optimization that
allows them to generate copy relocations even in -fPIE code. Clang has
the same functionality when compiling an executable with -flto. We need
to let the compilers know that they cannot use copy relocations, so they
need to use really position-independent code.

Position independent code throughout is not really required. We just
need the compilers to use position-independent access to symbols coming
from the Qt libraries, but there's currently no other way of doing that.

Task-number: QTBUG-45755
Change-Id: I0d4913955e3745b69672ffff13db5df7377398c5
Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@theqtcompany.com>
2015-05-07 19:42:43 +00:00
..
aix-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
aix-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
aix-xlc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
aix-xlc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
android-g++ Android: Fix compilation on armv5 with 4.9 toolchain 2015-03-20 15:36:52 +00:00
blackberry-armle-v7-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
blackberry-armv7le-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
blackberry-x86-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
common Require -fPIC instead of just -fPIE for -reduce-relocations 2015-05-07 19:42:43 +00:00
cygwin-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
darwin-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
devices Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
features fix dependencies for generated headers from TYPELIBS 2015-04-04 07:07:16 +00:00
freebsd-g++ Link against QMAKE_LIBS_EXECINFO when using backtrace(3). 2015-01-03 14:48:53 +01:00
freebsd-g++46 Link against QMAKE_LIBS_EXECINFO when using backtrace(3). 2015-01-03 14:48:53 +01:00
freebsd-icc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpux-acc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpux-acc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpux-acc-o64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpux-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpux-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpuxi-acc-32 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpuxi-acc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hpuxi-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
hurd-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
irix-cc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
irix-cc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
irix-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
irix-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-arm-gnueabi-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-clang Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-clang-libc++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-cxx Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-g++-32 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-icc Require -fPIC instead of just -fPIE for -reduce-relocations 2015-05-07 19:42:43 +00:00
linux-icc-32 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-icc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-kcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-llvm Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-lsb-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
linux-pgcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
lynxos-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macx-clang Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-clang-32 Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-g++ Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-g++40 Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-g++42 Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-g++-32 Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-icc Work around ICC compatibility problem with Apple headers 2014-11-22 20:02:49 +01:00
macx-ios-clang iOS: add AppIcon asset name to Xcode project 2015-01-16 11:24:09 +01:00
macx-llvm Add CFBundleIdentifier to the bundle Info.plist's 2014-11-10 16:04:12 +01:00
macx-xcode Update license headers and add new license files 2014-09-24 12:26:19 +02:00
modules Adjust wiki links to the new redirect 2015-03-04 15:36:12 +00:00
netbsd-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
openbsd-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnx-armle-v7-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnx-armv7le-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qnx-x86-qcc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
sco-cc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
sco-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-cc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-cc-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-cc-64-stlport Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-cc-stlport Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
solaris-g++-64 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tru64-cxx Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tru64-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
unixware-cc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
unixware-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
unsupported Link against QMAKE_LIBS_EXECINFO when using backtrace(3). 2015-01-03 14:48:53 +01:00
win32-g++ Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-icc Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-msvc2005 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-msvc2008 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-msvc2010 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win32-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
wince60standard-armv4i-msvc2005 WinCE: fix DLL build errors with CONFIG+=console 2014-10-08 13:05:05 +02:00
wince60standard-x86-msvc2005 WinCE: fix DLL build errors with CONFIG+=console 2014-10-08 13:05:05 +02:00
wince70embedded-armv4i-msvc2008 WinCE: fix DLL build errors with CONFIG+=console 2014-10-08 13:05:05 +02:00
wince70embedded-x86-msvc2008 WinCE: fix DLL build errors with CONFIG+=console 2014-10-08 13:05:05 +02:00
winphone-arm-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winphone-arm-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winphone-x86-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winphone-x86-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-arm-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-arm-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-x64-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-x64-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-x86-msvc2012 Update license headers and add new license files 2014-09-24 12:26:19 +02:00
winrt-x86-msvc2013 Update license headers and add new license files 2014-09-24 12:26:19 +02:00