qt5base-lts/tests/auto/tools/moc
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
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Update license headers and add new license files 2014-09-24 12:26:19 +02:00
testproject Update license headers and add new license files 2014-09-24 12:26:19 +02:00
.gitattributes Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
.gitignore Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
assign-namespace.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
backslash-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
c-comments.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cstyle-enums.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cxx11-enums.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cxx11-explicit-override-control.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
cxx11-final-classes.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
dir-in-include-path.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
dollars.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
error-on-wrong-notify.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
escapes-in-string-literals.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
extraqualification.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
forgotten-qinterface.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
forward-declared-param.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
function-with-attributes.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
gadgetwithnoenums.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
interface-from-include.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
macro-on-cmdline.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
moc.pro Fix lack of deterministic behavior in moc. 2014-01-22 08:27:50 +01:00
namespaced-flags.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
no-keywords.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
oldstyle-casts.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
os9-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parse-boost.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
parse-defines.h moc: do not error if the last token of a define is # 2014-10-28 19:37:10 +01:00
plugin_metadata.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
pp-dollar-signs.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
pure-virtual-signals.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qinvokable.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qprivateslots.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
qtbug-35657-gadget.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-in-gadget.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-in-namespaces.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
related-metaobjects-name-conflict.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
single_function_keyword.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
single-quote-digit-separator-n3781.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
slots-with-void-template.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task87883.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task189996.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task192552.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task234909.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
task240368.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
template-gtgt.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
trigraphs.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
tst_moc.cpp Require -fPIC instead of just -fPIE for -reduce-relocations 2015-05-07 19:42:43 +00:00
unterminated-function-macro.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
using-namespaces.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
warn-on-multiple-qobject-subclasses.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
warn-on-property-without-read.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00
win-newlines.h Update license headers and add new license files 2014-09-24 12:26:19 +02:00