Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 86de314a authored by Dan Austin's avatar Dan Austin Committed by android-build-merger
Browse files

Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx...

Merge "Adding gcc-specific disable of Wattributes in preparation for libcxx rebase." am: 79846204 am: d7c070f4
am: bd581f69

* commit 'bd581f69':
  Adding gcc-specific disable of Wattributes in preparation for libcxx rebase.

Change-Id: I789106d1f54ce591308118b42e726e25db22f45b
parents b10a1190 bd581f69
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -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)