payloads/libpayload: Add Wno-address-of-packed-member flag
Change-Id: I47d7b5af67563de96fb5d8c200ce186a3443728b Signed-off-by: Elyes Haouas <ehaouas@noos.fr> Reviewed-on: https://review.coreboot.org/c/coreboot/+/84756 Tested-by: build bot (Jenkins) <no-reply@coreboot.org> Reviewed-by: Jakub Czapiga <czapiga@google.com>
This commit is contained in:
parent
a03e5456e6
commit
995e763f09
2 changed files with 2 additions and 2 deletions
|
|
@ -79,7 +79,7 @@ CFLAGS += -nostdlib -fno-builtin -ffreestanding -fomit-frame-pointer
|
|||
CFLAGS += -ffunction-sections -fdata-sections
|
||||
CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wmissing-prototypes -Wvla
|
||||
CFLAGS += -Wwrite-strings -Wredundant-decls -Wimplicit-fallthrough
|
||||
CFLAGS += -Wstrict-aliasing -Wshadow -Werror
|
||||
CFLAGS += -Wstrict-aliasing -Wshadow -Wno-address-of-packed-member -Werror
|
||||
|
||||
ifeq ($(CONFIG_LP_LTO),y)
|
||||
CFLAGS += -flto
|
||||
|
|
|
|||
|
|
@ -44,7 +44,7 @@ TEST_CFLAGS += -I$(cmockasrc)/include
|
|||
|
||||
# Minimal subset of warnings and errors. Tests can be less strict than actual build.
|
||||
TEST_CFLAGS += -Wall -Wundef -Wstrict-prototypes -Wvla
|
||||
TEST_CFLAGS += -Wwrite-strings -Wimplicit-fallthrough
|
||||
TEST_CFLAGS += -Wwrite-strings -Wno-address-of-packed-member -Wimplicit-fallthrough
|
||||
TEST_CFLAGS += -Wstrict-aliasing -Wshadow -Werror
|
||||
TEST_CFLAGS += -Wno-unknown-warning-option -Wno-source-mgr -Wno-main-return-type
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue