aboutsummaryrefslogtreecommitdiff
path: root/Makefile.parisc
diff options
context:
space:
mode:
authorHelge Deller <deller@gmx.de>2022-05-26 10:48:34 +0200
committerHelge Deller <deller@gmx.de>2022-05-26 10:48:34 +0200
commit7dd97dc328785d61aef1c07e04332a62e3a19cdf (patch)
treeb5f6fb41c96ed23b7a44fd4df19b22ee76df4cd8 /Makefile.parisc
parenta336276fcddbbab47b6378ec67ba5b00bcb24d85 (diff)
downloadseabios-hppa-7dd97dc328785d61aef1c07e04332a62e3a19cdf.zip
seabios-hppa-7dd97dc328785d61aef1c07e04332a62e3a19cdf.tar.gz
seabios-hppa-7dd97dc328785d61aef1c07e04332a62e3a19cdf.tar.bz2
parisc: Avoid build warnings with -Wno-address-of-packed-member compiler option
Add this option to avoid some warnings like: src/tcgbios.c: In function 'tpm_interrupt_handler32': src/tcgbios.c:1721:45: warning: taking address of packed member of 'struct bregs' may result in an unaligned pointer value [-Waddress-of-packed-member] Signed-off-by: Helge Deller <deller@gmx.de>
Diffstat (limited to 'Makefile.parisc')
-rw-r--r--Makefile.parisc2
1 files changed, 1 insertions, 1 deletions
diff --git a/Makefile.parisc b/Makefile.parisc
index 4af49b6..d3278e3 100644
--- a/Makefile.parisc
+++ b/Makefile.parisc
@@ -68,7 +68,7 @@ EXTRAVERSION=
CPPFLAGS = -P -MD -MT $@
COMMONCFLAGS := -I$(OUT) -Isrc -Ivgasrc -Os -MD -g \
- -Wall -Wno-strict-aliasing -Wold-style-definition \
+ -Wall -Wno-strict-aliasing -Wold-style-definition -Wno-address-of-packed-member \
$(call cc-option,$(CC),-Wtype-limits,) \
-fomit-frame-pointer \
-freg-struct-return -ffreestanding -fno-delete-null-pointer-checks \