diff options
author | Michael Brown | 2017-06-14 13:33:16 +0200 |
---|---|---|
committer | Michael Brown | 2017-06-14 13:33:16 +0200 |
commit | 7c395b0e21806b946fe944a27fc273407f357ea1 (patch) | |
tree | e96d8022cf9c77f249a88d0a3152d0e988ebf276 /src/drivers | |
parent | [intel] Add INTEL_NO_PHY_RST for I219-V (diff) | |
download | ipxe-7c395b0e21806b946fe944a27fc273407f357ea1.tar.gz ipxe-7c395b0e21806b946fe944a27fc273407f357ea1.tar.xz ipxe-7c395b0e21806b946fe944a27fc273407f357ea1.zip |
[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 <nathan.renniewaldock@gmail.com>
Originally-fixed-by: Markos Chandras <mchandras@suse.de>
Signed-off-by: Michael Brown <mcb30@ipxe.org>
Diffstat (limited to 'src/drivers')
0 files changed, 0 insertions, 0 deletions