Bug#842109: Please revert the change to build static libraries with -fPIC

2016-10-26 Thread Santiago Vila
Hi.

I'm going to make a QA upload to fix this one.

Thanks.



Bug#842109: Please revert the change to build static libraries with -fPIC

2016-10-25 Thread Adrian Bunk
Source: bglibs
Version: 1.106-2.1
Severity: normal

PIE by default in gcc was enabled in unstable a week ago.

There has recently been some confusion regarding the changes required
for using PIE by default.

Static libraries do not have to be compiled with -fPIC for this change,
-fPIE is sufficient and now the default when no flags are given.
Any upload (including binNMU) would have been enough to fix this.

Compiling static libraries with -fPIC is usually wrong (policy section 10.2).

Please revert the change to build static libraries with -fPIC.