Skip to content

Commit

Permalink
Makefile: Disable array-compare warnings
Browse files Browse the repository at this point in the history
These are needed for MTK userspace to behave properly.

Signed-off-by: Vaisakh Murali <mvaisakh@statixos.com>
  • Loading branch information
mvaisakh authored and Hadenix committed Feb 2, 2024
1 parent afb559c commit 54057d7
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions Makefile
Original file line number Diff line number Diff line change
Expand Up @@ -673,6 +673,7 @@ KBUILD_CFLAGS += $(call cc-disable-warning, address-of-packed-member)
KBUILD_CFLAGS += $(call cc-disable-warning, attribute-alias)
KBUILD_CFLAGS += $(call cc-disable-warning, tautological-compare)
KBUILD_CFLAGS += $(call cc-disable-warning, stringop-overread)
KBUILD_CFLAGS += $(call cc-disable-warning, array-compare)

ifdef CONFIG_LD_DEAD_CODE_DATA_ELIMINATION
KBUILD_CFLAGS += $(call cc-option,-ffunction-sections,)
Expand Down

0 comments on commit 54057d7

Please sign in to comment.