diff options
-rw-r--r-- | Makefile.main | 11 |
1 files changed, 11 insertions, 0 deletions
diff --git a/Makefile.main b/Makefile.main index 05222a1..8cd5e2d 100644 --- a/Makefile.main +++ b/Makefile.main @@ -163,6 +163,17 @@ CFLAGS += -mcpu=pwr8 LDFLAGS += -mcpu=pwr8 ASFLAGS += -mcpu=pwr8 +# Workarounds +# TODO: Fix the issues these hide, and remove them +CFLAGS += -Wno-cast-align \ + -Wno-unused-command-line-argument \ + -Wno-unknown-warning-option \ + -Wno-gnu-variable-sized-type-not-at-end \ + -Wno-address-of-packed-member + +# pci_add_device_nodes is the largest, at 2048 with clang-7 (smaller with older +# versions) +CFLAGS += -Wframe-larger-than=2048 endif # Special tool flags: |