summaryrefslogtreecommitdiffstats
path: root/src/winmain
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@intel.com>2015-05-11 18:30:00 +0900
committerSimon Hausmann <simon.hausmann@theqtcompany.com>2015-05-13 03:46:34 +0000
commit3eca75de67b3fd2c890715b30c7899cebc096fe9 (patch)
treed413762b5fb5966ece24a7022784ba9a4da77e98 /src/winmain
parent3a726628f13c8f46b447cf0844eb8a5b740a1993 (diff)
Make qglobal.h complain if you use -fPIE
Prior to Qt 5.4.2 (commit 36d6eb721e7d5997ade75e289d4088dc48678d0d), we allowed it, but now we need to enforce that it is not used. Note that -fPIE does define __PIC__, so we need this to catch the use of -fPIE. [ChangeLog][Important Behavior Changes] On x86 and x86-64 systems with ELF binaries (especially Linux), due to a new optimization in GCC 5.x in combination with a recent version of GNU binutils, compiling Qt applications with -fPIE is no longer enough. Applications now need to be compiled with the -fPIC option if Qt's option "reduce relocations" is active. Note that Clang is known to generate incompatible code even with -fPIC if the -flto option is active. Task-number: QTBUG-45755 Change-Id: I66a35ce5f88941f29aa6ffff13dd210e0aa2728f Reviewed-by: Dmitry Shachnev <mitya57@gmail.com> Reviewed-by: Simon Hausmann <simon.hausmann@theqtcompany.com>
Diffstat (limited to 'src/winmain')
0 files changed, 0 insertions, 0 deletions