diff options
author | Gerd Hoffmann <kraxel@redhat.com> | 2023-05-03 11:16:30 +0200 |
---|---|---|
committer | Gerd Hoffmann <kraxel@redhat.com> | 2023-05-05 09:05:53 +0200 |
commit | be7e899350caa7b74d8271a34264c3b4aef25ab0 (patch) | |
tree | cf698d68b4a28ec88d142342144c25d0f4c730c8 | |
parent | ea1b7a0733906b8425d948ae94fba63c32b1d425 (diff) | |
download | seabios-be7e899350caa7b74d8271a34264c3b4aef25ab0.tar.gz |
disable array bounds warning
The segmented pointer casting magic confuses gcc, recent versions
throw array bound warnings. Disable the warning.
Signed-off-by: Gerd Hoffmann <kraxel@redhat.com>
-rw-r--r-- | Makefile | 1 |
1 files changed, 1 insertions, 0 deletions
@@ -71,6 +71,7 @@ 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),-Wno-address-of-packed-member,) +COMMONCFLAGS += $(call cc-option,$(CC),-Wno-array-bounds,) COMMONCFLAGS += $(call cc-option,$(CC),-fcf-protection=none,) COMMA := , |