aboutsummaryrefslogtreecommitdiff
path: root/Makefile.flags
diff options
context:
space:
mode:
authorRon Yorston <rmy@pobox.com>2020-07-09 13:10:58 +0100
committerRon Yorston <rmy@pobox.com>2020-07-09 13:10:58 +0100
commit9c0b2f7020d7c30b21a930ef54be632e092e533b (patch)
treeb2187c40bd2fd9f49f73599fb08e52cb7a596de0 /Makefile.flags
parenta8c6e20e332a9e11a9d28cd6770eadb9c9d73cb7 (diff)
parentd21a63f9fca8eb16f79de9b72d4a3484dfaec1fc (diff)
downloadbusybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.gz
busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.tar.bz2
busybox-w32-9c0b2f7020d7c30b21a930ef54be632e092e533b.zip
Merge branch 'busybox' into merge
Diffstat (limited to 'Makefile.flags')
-rw-r--r--Makefile.flags2
1 files changed, 2 insertions, 0 deletions
diff --git a/Makefile.flags b/Makefile.flags
index 26031f561..2c3fd0d25 100644
--- a/Makefile.flags
+++ b/Makefile.flags
@@ -78,7 +78,9 @@ CFLAGS += $(call cc-option,-fno-asynchronous-unwind-tables,)
78CFLAGS += $(call cc-option,-fno-builtin-printf,) 78CFLAGS += $(call cc-option,-fno-builtin-printf,)
79 79
80# clang-9 does not like "str" + N and "if (CONFIG_ITEM && cond)" constructs 80# clang-9 does not like "str" + N and "if (CONFIG_ITEM && cond)" constructs
81ifeq ($(CC),clang)
81CFLAGS += $(call cc-option,-Wno-string-plus-int -Wno-constant-logical-operand) 82CFLAGS += $(call cc-option,-Wno-string-plus-int -Wno-constant-logical-operand)
83endif
82 84
83# FIXME: These warnings are at least partially to be concerned about and should 85# FIXME: These warnings are at least partially to be concerned about and should
84# be fixed.. 86# be fixed..