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>tags/v1.20.1
|
|
||
74 |
|
74 |
|
75 |
|
75 |
|
76 |
|
76 |
|
|
77 |
|
|
|
78 |
|
|
|
79 |
|
|
77 |
|
80 |
|
78 |
|
|
|
79 |
|
|
|
80 |
|
|
|
|
81 |
|
|
|
82 |
|
|
|
83 |
|
|
|
84 |
|
|
|
85 |
|
|
81 |
|
86 |
|
82 |
|
87 |
|
83 |
|
88 |
|