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

Commit 051a1740 authored by Mike Lockwood's avatar Mike Lockwood
Browse files

Add support for WITHOUT_CLANG

Change-Id: I12e776e44c69649bca34c35eff2ee7c75cfe62cd
parent 977d5835
Loading
Loading
Loading
Loading
+4 −0
Original line number Diff line number Diff line
@@ -98,6 +98,10 @@ ifeq ($(strip $(LOCAL_ADDRESS_SANITIZER)),true)
  LOCAL_STATIC_LIBRARIES += $(ADDRESS_SANITIZER_CONFIG_EXTRA_STATIC_LIBRARIES)
endif

ifeq ($(strip $(WITHOUT_CLANG)),true)
  LOCAL_CLANG :=
endif

# Add in libcompiler_rt for all regular device builds
ifeq (,$(LOCAL_SDK_VERSION)$(LOCAL_IS_HOST_MODULE)$(WITHOUT_LIBCOMPILER_RT))
  LOCAL_STATIC_LIBRARIES += $(COMPILER_RT_CONFIG_EXTRA_STATIC_LIBRARIES)