Bug#829329: Error combining hardening flags with Qt5

2016-07-03 Thread Nikos Andrikos
Hi Dmitry, I'm aware of the workaround and this is what I'm currently doing. Leaving +pie (implicitly) in hardening flags makes no harm as the -fPIC from CFFLAGS_APPEND will override it. The reason for this bug report is that packages that use qt5 with hardening flags will encounter this issue, e

Bug#829329: Error combining hardening flags with Qt5

2016-07-02 Thread Nikos Andrikos
reopen -1 thanks Hi Lisandro, The -fPIE flags comes from the automatically generated hardening options, which override the the -fPIC flag that comes from lyx Makefile, since it comes later in the argument list. lyx reports this configuration: C++ Compiler flags: -Wall -Wextra -std=c++11

Bug#829329: Error combining hardening flags with Qt5

2016-07-02 Thread Nikos Andrikos
Package: libqt5core5a Version: 5.6.1+dfsg-3 Severity: normal I'm trying to enable Qt5 support for the lyx package I maintain. I have already enabled hardening flags, and I get the following error when building the package: g++ -DHAVE_CONFIG_H -I. -I../../../src/support -I../.. -Wall -Wextra -I..