Skip to content

Commit

Permalink
coreboot module: add -Wno-address-of-packed-member to deal with gcc 9…
Browse files Browse the repository at this point in the history
…+ warning as error
  • Loading branch information
tlaurion committed Oct 30, 2020
1 parent 76e4864 commit 7afdc23
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/coreboot
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@ CONFIG_COREBOOT_CONFIG ?= config/coreboot-$(BOARD).config
# Ensure that touching the config file will force a rebuild
$(build)/$(coreboot_dir)/.configured: $(CONFIG_COREBOOT_CONFIG)

EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-error=packed-not-aligned
EXTRA_FLAGS := -fdebug-prefix-map=$(pwd)=heads -gno-record-gcc-switches -Wno-error=packed-not-aligned -Wno-address-of-packed-member

coreboot_configure := \
mkdir -p "$(build)/$(coreboot_dir)" \
Expand Down

0 comments on commit 7afdc23

Please sign in to comment.