qt5base-lts/tests/auto/tools/moc
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
..
task71021 Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
Test.framework/Headers Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
testproject Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01: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 Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
backslash-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
c-comments.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cstyle-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
cxx11-enums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
dir-in-include-path.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
error-on-wrong-notify.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
escapes-in-string-literals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
extraqualification.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
forgotten-qinterface.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
gadgetwithnoenums.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
Header Moved autotests in category 'tools' into new directory structure 2011-09-12 10:08:29 +02:00
interface-from-framework.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
macro-on-cmdline.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
moc.pro moc: support c++11 style enums 2011-10-29 21:18:45 +02:00
namespaced-flags.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
no-keywords.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
oldstyle-casts.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
os9-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
parse-boost.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
pure-virtual-signals.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qinvokable.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
qprivateslots.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
single_function_keyword.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
slots-with-void-template.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task87883.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task189996.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task192552.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task234909.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
task240368.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
template-gtgt.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
trigraphs.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
tst_moc.cpp Force -fPIE on ELF if Qt is built with reduced relocations 2012-02-10 11:42:31 +01:00
using-namespaces.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-multiple-qobject-subclasses.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
warn-on-property-without-read.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00
win-newlines.h Remove "All rights reserved" line from license headers. 2012-01-30 03:54:59 +01:00