qt6-bb10/tests/auto/tools
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
..
moc Require -fPIC instead of just -fPIE for -reduce-relocations 2015-05-07 19:42:43 +00:00
qdbuscpp2xml Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qdbusxml2cpp Make QtDBus unit tests compile with runtime dbus-1 too 2015-01-06 18:16:32 +01:00
qmake Update license headers and add new license files 2014-09-24 12:26:19 +02:00
rcc Add extra declarations to make rcc output pass -Wmissing-declarations 2014-10-25 11:48:43 +02:00
uic Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tools.pro test: Disable tst_uic when -no-widgets is used 2013-04-22 16:24:44 +02:00