diff options
author | Helge Deller <deller@gmx.de> | 2022-05-26 10:48:34 +0200 |
---|---|---|
committer | Helge Deller <deller@gmx.de> | 2022-05-26 10:48:34 +0200 |
commit | 7dd97dc328785d61aef1c07e04332a62e3a19cdf (patch) | |
tree | b5f6fb41c96ed23b7a44fd4df19b22ee76df4cd8 | |
parent | a336276fcddbbab47b6378ec67ba5b00bcb24d85 (diff) | |
download | seabios-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>
-rw-r--r-- | Makefile.parisc | 2 |
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 \ |