Paul Menzel has uploaded this change for review.

View Change

Makefile.inc: Add `-fno-pie` to `ADAFLAGS_common`

Change-Id: I6661937906d95c130c6099f598d61b21e958fd85
Signed-off-by: Paul Menzel <pmenzel@molgen.mpg.de>
---
M Makefile.inc
M src/lib/gnat/Makefile.inc
2 files changed, 2 insertions(+), 0 deletions(-)

git pull ssh://review.coreboot.org:29418/coreboot refs/changes/59/43759/1
diff --git a/Makefile.inc b/Makefile.inc
index 89bb3e4..ca9f10e 100644
--- a/Makefile.inc
+++ b/Makefile.inc
@@ -439,6 +439,7 @@
ADAFLAGS_common += -Wstrict-aliasing -Wshadow
ADAFLAGS_common += -fno-common -fomit-frame-pointer
ADAFLAGS_common += -ffunction-sections -fdata-sections
+ADAFLAGS_common += -fno-pie
# Ada warning options:
#
# a Activate most optional warnings.
diff --git a/src/lib/gnat/Makefile.inc b/src/lib/gnat/Makefile.inc
index e740564..065ba71 100644
--- a/src/lib/gnat/Makefile.inc
+++ b/src/lib/gnat/Makefile.inc
@@ -13,6 +13,7 @@
-I$$(src)/lib/gnat/ \
$$(GCC_ADAFLAGS_$(1)) \
-Werror \
+ -fno-pie \

libgnat-$(1)-y += a-unccon.ads
libgnat-$(1)-y += ada.ads

To view, visit change 43759. To unsubscribe, or for help writing mail filters, visit settings.

Gerrit-Project: coreboot
Gerrit-Branch: master
Gerrit-Change-Id: I6661937906d95c130c6099f598d61b21e958fd85
Gerrit-Change-Number: 43759
Gerrit-PatchSet: 1
Gerrit-Owner: Paul Menzel <paulepanter@users.sourceforge.net>
Gerrit-Reviewer: Martin Roth <martinroth@google.com>
Gerrit-Reviewer: Patrick Georgi <pgeorgi@google.com>
Gerrit-MessageType: newchange