1 |
Possibly due to messing around with hardened in the past, i'm finding that |
2 |
many packages are reporting that they need -fPIC now that i'm on 17.0 (and |
3 |
gcc 7.2 FWIW). I've added it to CFLAGs, as manually adding to each failed |
4 |
package via package.env was getting non-trivial. |
5 |
|
6 |
From the GCC man page it sounds like; |
7 |
fPIE = make executables position independent, and |
8 |
fPIC = make everything position independent |
9 |
|
10 |
Is there a downside to adding -fPIC to CFLAGs? It seems to allow everything |
11 |
to build and the system is working. |