Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx rebase." am: 7984620
am: d7c070f
* commit 'd7c070f4a01f9518f19e42ab83285c50c0554b2e':
Adding gcc-specific disable of Wattributes in preparation for libcxx rebase.
Change-Id: I9e1c63516f5729f97a9bcf5e664715e63c05dbc4
This commit is contained in:
commit
bd581f6959
|
@ -1340,6 +1340,10 @@ my_cflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags
|
|||
my_cppflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_cppflags))
|
||||
my_asflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_asflags))
|
||||
my_ldflags := $(call $(LOCAL_2ND_ARCH_VAR_PREFIX)convert-to-$(my_host)clang-flags,$(my_ldflags))
|
||||
else
|
||||
# gcc does not handle hidden functions in a manner compatible with LLVM libcxx
|
||||
# see b/27908145
|
||||
my_cflags += -Wno-attributes
|
||||
endif
|
||||
|
||||
ifeq ($(my_fdo_build), true)
|
||||
|
|
Loading…
Reference in New Issue