diff options
-rw-r--r-- | Makefile.inc | 1 | ||||
-rw-r--r-- | src/lib/gnat/Makefile.inc | 1 |
2 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.inc b/Makefile.inc index cc7317da40..1c76a916ea 100644 --- a/Makefile.inc +++ b/Makefile.inc @@ -444,6 +444,7 @@ ADAFLAGS_common += -pipe -g -nostdinc 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 e7405648d6..065ba71404 100644 --- a/src/lib/gnat/Makefile.inc +++ b/src/lib/gnat/Makefile.inc @@ -13,6 +13,7 @@ ADAFLAGS_libgnat-$(1) := \ -I$$(src)/lib/gnat/ \ $$(GCC_ADAFLAGS_$(1)) \ -Werror \ + -fno-pie \ libgnat-$(1)-y += a-unccon.ads libgnat-$(1)-y += ada.ads |