Displaying 1 result from an estimated 1 matches for "d351a52".
Did you mean:
35152
2011 Dec 09
1
[PATCH] Fix compilation when gcc is patched to default to -fPIE -Wl, -pie
...he flags.
Compile tested against 4.05-pre7
Signed-off-by: Gilles Espinasse <g.esp at free.fr>
---
gpxe/src/Makefile.housekeeping | 11 +++++++++++
1 files changed, 11 insertions(+), 0 deletions(-)
diff --git a/gpxe/src/Makefile.housekeeping b/gpxe/src/Makefile.housekeeping
index 1f5e115..d351a52 100644
--- a/gpxe/src/Makefile.housekeeping
+++ b/gpxe/src/Makefile.housekeeping
@@ -134,6 +134,17 @@ SP_FLAGS := $(shell $(SP_TEST) && $(ECHO) '-fno-stack-protector')
CFLAGS += $(SP_FLAGS)
endif
+# Some widespread patched versions of gcc include -fPIE -Wl,-pie by
+# default. N...