aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorKevin O'Connor <kevin@koconnor.net>2014-06-07 15:55:00 -0400
committerKevin O'Connor <kevin@koconnor.net>2014-06-11 14:55:57 -0400
commite574997809bc67ab0c150af9c4b5e451091fb259 (patch)
treec4bd0ce7e44e55a87a53b1eb5ffc0b971428977e /Makefile
parentb40016f9e70139ff17dfacdc3f8f08e453dc6525 (diff)
downloadseabios-hppa-e574997809bc67ab0c150af9c4b5e451091fb259.zip
seabios-hppa-e574997809bc67ab0c150af9c4b5e451091fb259.tar.gz
seabios-hppa-e574997809bc67ab0c150af9c4b5e451091fb259.tar.bz2
build: Keep segmented sections separate until final link step.
Signed-off-by: Kevin O'Connor <kevin@koconnor.net>
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index d788ffe..e095601 100644
--- a/Makefile
+++ b/Makefile
@@ -57,7 +57,7 @@ COMMONCFLAGS := -I$(OUT) -Isrc -Os -MD -g \
-m32 -march=i386 -mregparm=3 -mpreferred-stack-boundary=2 \
-minline-all-stringops \
-freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \
- -ffunction-sections -fdata-sections -fno-common
+ -ffunction-sections -fdata-sections -fno-common -fno-merge-constants
COMMONCFLAGS += $(call cc-option,$(CC),-nopie,)
COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector,)
COMMONCFLAGS += $(call cc-option,$(CC),-fno-stack-protector-all,)