forked from openkylin/platform_build
am 6e92ade0: am db24577b: Merge "Work in progress to enable build system support for Clang."
* commit '6e92ade0a6cd8aea8f074fdc44f375ef2f1d50b7': Work in progress to enable build system support for Clang.
This commit is contained in:
commit
8213b719c8
|
@ -1,7 +1,7 @@
|
|||
|
||||
include $(BUILD_SYSTEM)/clang/arm64.mk
|
||||
|
||||
CLANG_CONFIG_arm64_TARGET_TRIPLE := aarch64-linux-androideabi
|
||||
CLANG_CONFIG_arm64_TARGET_TRIPLE := aarch64-linux-android
|
||||
CLANG_CONFIG_arm64_TARGET_TOOLCHAIN_PREFIX := \
|
||||
$(TARGET_TOOLCHAIN_ROOT)/$(CLANG_CONFIG_arm64_TARGET_TRIPLE)/bin
|
||||
|
||||
|
@ -51,4 +51,4 @@ CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
$(CLANG_CONFIG_arm64_TARGET_EXTRA_LDFLAGS)
|
||||
|
||||
$(warning Incorrect arm64 RS_TRIPLE, fix me!)
|
||||
RS_TRIPLE := armv7-none-linux-gnueabi
|
||||
RS_TRIPLE := aarch64-linux-android
|
||||
|
|
|
@ -48,7 +48,7 @@ $(error Unknown ARM architecture version: $(TARGET_ARCH_VARIANT))
|
|||
endif
|
||||
|
||||
# TODO: Enable Clang when aarch64 prebuilt is added
|
||||
WITHOUT_TARGET_CLANG := true
|
||||
# WITHOUT_TARGET_CLANG := true
|
||||
|
||||
include $(TARGET_ARCH_SPECIFIC_MAKEFILE)
|
||||
|
||||
|
|
|
@ -55,9 +55,4 @@ BOARD_CACHEIMAGE_FILE_SYSTEM_TYPE := ext4
|
|||
BOARD_FLASH_BLOCK_SIZE := 512
|
||||
TARGET_USERIMAGES_SPARSE_EXT_DISABLED := true
|
||||
|
||||
# FIXME
|
||||
# Temporarily disable linking against compiler_rt until there is an arm64
|
||||
# version
|
||||
WITHOUT_LIBCOMPILER_RT := true
|
||||
|
||||
BUILD_EMULATOR := false
|
||||
|
|
Loading…
Reference in New Issue