aboutsummaryrefslogtreecommitdiff
path: root/Makefile.parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2024-01-18 18:21:00 +0100
committerHelge Deller <deller@gmx.de>2024-01-18 18:21:00 +0100
commit03c2e200ace06bc7fdcc3f21112ed56d77cd99c3 (patch)
treedc3527bfdbc85ffbf20f5b978a0f880fe56408c8 /Makefile.parisc
parent25750612451261f740756456c7e775296a21c2ef (diff)
downloadseabios-hppa-03c2e200ace06bc7fdcc3f21112ed56d77cd99c3.zip
seabios-hppa-03c2e200ace06bc7fdcc3f21112ed56d77cd99c3.tar.gz
seabios-hppa-03c2e200ace06bc7fdcc3f21112ed56d77cd99c3.tar.bz2
parisc: Enable build of 64-bit firmware code to out-64/hppa-firmware64.img
Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'Makefile.parisc')
-rw-r--r--Makefile.parisc7
1 files changed, 4 insertions, 3 deletions
diff --git a/Makefile.parisc b/Makefile.parisc
index 36edc0c..5c34eb3 100644
--- a/Makefile.parisc
+++ b/Makefile.parisc
@@ -73,15 +73,16 @@ COMMONCFLAGS := -I$(OUT) -Isrc -Ivgasrc -Os -MD -g \
-freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \
-fdata-sections -fno-common -fno-merge-constants -mdisable-fpregs \
-fno-builtin-printf -fno-ipa-sra
+COMMONCFLAGS-64 =
+COMMONCFLAGS-32 =
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,)
-COMMONCFLAGS += $(call cc-option,$(CC),-mfast-indirect-calls,)
+COMMONCFLAGS-32 += $(call cc-option,$(CC),-mfast-indirect-calls,)
-COMMONCFLAGS-64 = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
-COMMONCFLAGS-32 =
+COMMONCFLAGS-64 += -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast
COMMONCFLAGS += $(COMMONCFLAGS-$(BITS))
COMMA := ,