diff options
Diffstat (limited to 'shared_llvm.mk')
-rw-r--r-- | shared_llvm.mk | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/shared_llvm.mk b/shared_llvm.mk index b0299e8..8948c39 100644 --- a/shared_llvm.mk +++ b/shared_llvm.mk @@ -105,6 +105,7 @@ ifeq (,$(filter $(TARGET_ARCH),$(LLVM_SUPPORTED_ARCH))) $(warning TODO $(TARGET_ARCH): Enable llvm build) endif +ifneq (true,$(DISABLE_LLVM_DEVICE_BUILDS)) # DEVICE LLVM shared library build include $(CLEAR_VARS) @@ -125,9 +126,12 @@ LOCAL_WHOLE_STATIC_LIBRARIES_arm64 += $(llvm_arm64_static_libraries) LOCAL_WHOLE_STATIC_LIBRARIES += $(llvm_post_static_libraries) #LOCAL_LDLIBS := -ldl -lpthread -LOCAL_SHARED_LIBRARIES := libcutils libdl libstlport +LOCAL_SHARED_LIBRARIES := libcutils libdl libc++ include $(LLVM_DEVICE_BUILD_MK) include $(BUILD_SHARED_LIBRARY) +endif + endif # don't build in unbundled branches + |