On Tue, Oct 25, 2016 at 08:04:34PM +0300, Michael Tokarev wrote:
25.10.2016 19:14, Kevin O'Connor wrote:
On Tue, Oct 25, 2016 at 06:08:08PM +0200, Paul Menzel wrote:
Does the patch below work?
index 1916ecf..3b94ee0 100644 --- a/Makefile +++ b/Makefile @@ -63,6 +63,7 @@ COMMONCFLAGS := -I$(OUT) -Isrc -Os -MD -g \ -freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \ -ffunction-sections -fdata-sections -fno-common -fno-merge-constants COMMONCFLAGS += $(call cc-option,$(CC),-nopie,) +COMMONCFLAGS += $(call cc-option,$(CC),-fno-pie,)
Hm. Are there really two different options? Maybe the first is just a spelling mistake?
The first was some ancient distribution that introduced its own custom flag. It should probably be removed in some future release.
-Kevin