Merge "Add -Wno-unused-command-line-argument to clang cflags to enable ccache."
This commit is contained in:
commit
18cd02257d
1 changed files with 5 additions and 0 deletions
|
@ -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 \
|
||||
|
|
Loading…
Reference in a new issue