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

Commit 68301526 authored by Tim Murray's avatar Tim Murray Committed by Android Git Automerger
Browse files

am b771d956: Merge "Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD."

* commit 'b771d956':
  Add flag to enable default clang builds--USE_CLANG_PLATFORM_BUILD.
parents f07113de b771d956
Loading
Loading
Loading
Loading
+7 −0
Original line number Diff line number Diff line
@@ -151,6 +151,13 @@ ifdef LOCAL_IS_HOST_MODULE
    endif
endif

# Add option to make clang the default for device build
ifeq ($(USE_CLANG_PLATFORM_BUILD),true)
    ifeq ($(my_clang),)
        my_clang := true
    endif
endif

# arch-specific static libraries go first so that generic ones can depend on them
my_static_libraries := $(LOCAL_STATIC_LIBRARIES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_STATIC_LIBRARIES_$(my_32_64_bit_suffix)) $(my_static_libraries)
my_whole_static_libraries := $(LOCAL_WHOLE_STATIC_LIBRARIES_$($(my_prefix)$(LOCAL_2ND_ARCH_VAR_PREFIX)ARCH)) $(LOCAL_WHOLE_STATIC_LIBRARIES_$(my_32_64_bit_suffix)) $(my_whole_static_libraries)