Please sign in to comment.
[build] Use -no-pie on newer versions of gcc
Some distributions patch gcc to generate position independent executables by default. We currently include a workaround to check for this and to add -fno-PIE -nopie to CFLAGS if required. Newer patched versions of gcc require -fno-PIE -no-pie instead. Check for both variants. Reported-by: Nathan Rennie-Waldock <firstname.lastname@example.org> Originally-fixed-by: Markos Chandras <email@example.com> Signed-off-by: Michael Brown <firstname.lastname@example.org>
- Loading branch information