]> git.kernelconcepts.de Git - karo-tx-uboot.git/blobdiff - Makefile
gcc-9: silence 'address-of-packed-member' warning
[karo-tx-uboot.git] / Makefile
index 6aad39348323b293bdc18505787066fc693ee897..dcce4cbe4786c25a5a05e63bdca91ed037b043ce 100644 (file)
--- a/Makefile
+++ b/Makefile
@@ -576,6 +576,7 @@ ifeq ($(shell $(CONFIG_SHELL) $(srctree)/scripts/gcc-stack-usage.sh $(CC)),y)
 endif
 
 KBUILD_CFLAGS += $(call cc-option,-Wno-format-nonliteral)
+KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
 
 # turn jbsr into jsr for m68k
 ifeq ($(ARCH),m68k)