diff options
author | Helge Deller <deller@gmx.de> | 2024-01-02 23:43:57 +0100 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2024-01-04 18:48:58 +0100 |
commit | bc4933cc75dd144680beb42dade7f0ce93483f98 (patch) | |
tree | 9e75fe4b8a0dbd0a9e16ef956be4b77277c2e57f | |
parent | 5403344b6b23b847d71c282bfd912a5d88056a3a (diff) | |
download | seabios-hppa-bc4933cc75dd144680beb42dade7f0ce93483f98.zip seabios-hppa-bc4933cc75dd144680beb42dade7f0ce93483f98.tar.gz seabios-hppa-bc4933cc75dd144680beb42dade7f0ce93483f98.tar.bz2 |
parisc: Disable warnings on 64-bit firmware build
Signed-off-by: Helge Deller <deller@gmx.de>
-rw-r--r-- | Makefile.parisc | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/Makefile.parisc b/Makefile.parisc index 4240e0c..36edc0c 100644 --- a/Makefile.parisc +++ b/Makefile.parisc @@ -79,6 +79,11 @@ 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-64 = -Wno-pointer-to-int-cast -Wno-int-to-pointer-cast +COMMONCFLAGS-32 = +COMMONCFLAGS += $(COMMONCFLAGS-$(BITS)) + COMMA := , CFLAGS32FLAT := $(COMMONCFLAGS) -DMODE16=0 -DMODESEGMENT=0 |