diff options
author | Kevin O'Connor <kevin@koconnor.net> | 2016-10-25 12:09:41 -0400 |
---|---|---|
committer | Kevin O'Connor <kevin@koconnor.net> | 2016-10-26 10:11:46 -0400 |
commit | 99e3316d5970dbcdac8ce7bb0f89f0986d01c0ce (patch) | |
tree | 3ceb9c1d990d3fea94f71fe0c7b5ba1237d86a19 /Makefile | |
parent | cb75c910a2c380e29099a0ae90b03de1689236c5 (diff) | |
download | seabios-99e3316d5970dbcdac8ce7bb0f89f0986d01c0ce.tar.gz |
build: Add -fno-pie to the gcc flags when available
Reported-by: Paul Menzel <paulepanter@users.sourceforge.net>
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -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,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,) COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,) COMMONCFLAGS += $(call cc-option,$(CC),-fstack-check=no,) |