summaryrefslogtreecommitdiffstats
path: root/core/clang
diff options
context:
space:
mode:
Diffstat (limited to 'core/clang')
-rw-r--r--core/clang/config.mk5
1 files changed, 5 insertions, 0 deletions
diff --git a/core/clang/config.mk b/core/clang/config.mk
index 0027cbf..5a76049 100644
--- a/core/clang/config.mk
+++ b/core/clang/config.mk
@@ -42,6 +42,11 @@ CLANG_CONFIG_EXTRA_CFLAGS += \
CLANG_CONFIG_EXTRA_CFLAGS += \
-Werror=int-conversion
+# Workaround for ccache with clang.
+# See http://petereisentraut.blogspot.com/2011/05/ccache-and-clang.html.
+CLANG_CONFIG_EXTRA_CFLAGS += \
+ -Wno-unused-command-line-argument
+
CLANG_CONFIG_UNKNOWN_CFLAGS := \
-finline-limit=64 \
-fno-canonical-system-headers \