diff options
-rw-r--r-- | Makefile.flags | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags index bed766b..cff935f 100644 --- a/Makefile.flags +++ b/Makefile.flags @@ -77,7 +77,9 @@ CFLAGS += $(call cc-option,-fno-asynchronous-unwind-tables,) CFLAGS += $(call cc-option,-fno-builtin-printf,) # clang-9 does not like "str" + N and "if (CONFIG_ITEM && cond)" constructs +ifeq ($(CC),clang) CFLAGS += $(call cc-option,-Wno-string-plus-int -Wno-constant-logical-operand) +endif # FIXME: These warnings are at least partially to be concerned about and should # be fixed.. |