annexi-strayline / AURA

The AURA Reference Implementation
BSD 3-Clause "New" or "Revised" License
22 stars 0 forks source link

Static compilation should not imply no PIC. #28

Open Richard-Wai opened 1 year ago

Richard-Wai commented 1 year ago

Currently, the build option '-static' "implies" '-no-pie'. This is outdated, and position-independent code is now all-but required for any executable (typically to allow ASLR) for many main-stream OSs.

If the user wants to force '-no-pie' they can add that, otherwise it should not be triggered by '-static'