[coreboot-gerrit] Patch set updated for coreboot: Makefile.inc: Explicitly disable PIE
Paul Menzel (paulepanter@users.sourceforge.net)
gerrit at coreboot.org
Thu Oct 27 08:46:13 CEST 2016
Paul Menzel (paulepanter at users.sourceforge.net) just uploaded a new patch set to gerrit, which you can find at https://review.coreboot.org/17097
-gerrit
commit 332a2ac528b4f0e3778c15f4ee187cd59ad6bca6
Author: Paul Menzel <paulepanter at users.sourceforge.net>
Date: Sun Oct 23 20:38:36 2016 +0200
Makefile.inc: Explicitly disable PIE
Some distribution compilers enable Position Independent Executable (PIE)
by default, causing a build failure.
So explicitly disable PIE by passing the flag `-fno-pie`, to fix the
build error.
Change-Id: I1b7d7168e34c5c93c25bc03ffa49b2eeac0e76f8
Signed-off-by: Paul Menzel <paulepanter at users.sourceforge.net>
Signed-off-by: Paul Menzel <pmenzel at molgen.mpg.de>
---
Makefile.inc | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/Makefile.inc b/Makefile.inc
index f5b7c4c..8389ba4 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -356,7 +356,7 @@ CFLAGS_common += -nostdlib -Wall -Wundef -Wstrict-prototypes -Wmissing-prototype
CFLAGS_common += -Wwrite-strings -Wredundant-decls -Wno-trigraphs
CFLAGS_common += -Wstrict-aliasing -Wshadow -Wdate-time
CFLAGS_common += -fno-common -ffreestanding -fno-builtin -fomit-frame-pointer
-CFLAGS_common += -ffunction-sections -fdata-sections
+CFLAGS_common += -ffunction-sections -fdata-sections -fno-pie
ADAFLAGS_common += -gnatg -gnatp
ADAFLAGS_common += -Wuninitialized -Wall -Werror
More information about the coreboot-gerrit
mailing list