am 9c01c44b: Merge "Add -Wno-inline-asm to Clang flags."

* commit '9c01c44bd6641f934afeece3c2ab2ab91e791dfc':
  Add -Wno-inline-asm to Clang flags.
This commit is contained in:
Stephen Hines 2015-03-31 21:02:41 +00:00 committed by Android Git Automerger
commit 0ede6ef3a5
2 changed files with 7 additions and 0 deletions

View file

@ -29,6 +29,9 @@ LOCAL_CFLAGS := \
$($(module)_cflags) \ $($(module)_cflags) \
$($(module)_cflags_$(build_type)) \ $($(module)_cflags_$(build_type)) \
LOCAL_CLANG_CFLAGS += \
$(libbacktrace_common_clang_cflags) \
LOCAL_CONLYFLAGS += \ LOCAL_CONLYFLAGS += \
$(common_conlyflags) \ $(common_conlyflags) \
$($(module)_conlyflags) \ $($(module)_conlyflags) \

View file

@ -26,6 +26,10 @@ common_conlyflags := \
common_cppflags := \ common_cppflags := \
-std=gnu++11 \ -std=gnu++11 \
# The latest clang (r230699) does not allow SP/PC to be declared in inline asm lists.
libbacktrace_common_clang_cflags += \
-Wno-inline-asm
build_host := false build_host := false
ifeq ($(HOST_OS),linux) ifeq ($(HOST_OS),linux)
ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),x86 x86_64)) ifeq ($(HOST_ARCH),$(filter $(HOST_ARCH),x86 x86_64))