Fix host build for arm/arm64
Change-Id: Id92543e4080aede205b3e63099fa2baa36ba21f0
This commit is contained in:
parent
898aab282c
commit
9df4b13baf
|
@ -324,12 +324,17 @@ include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# Library with DF_1_GLOBAL
|
# Library with DF_1_GLOBAL
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
# TODO: re-enable arm once b/18137520 or b/18130452 are fixed
|
|
||||||
ifeq ($(filter $(TARGET_ARCH),arm arm64),)
|
|
||||||
libdl_test_df_1_global_src_files := dl_df_1_global.cpp
|
libdl_test_df_1_global_src_files := dl_df_1_global.cpp
|
||||||
libdl_test_df_1_global_ldflags := -fuse-ld=bfd -Wl,-z,global
|
libdl_test_df_1_global_ldflags := -fuse-ld=bfd -Wl,-z,global
|
||||||
module := libdl_test_df_1_global
|
module := libdl_test_df_1_global
|
||||||
|
# TODO: re-enable arm once b/18137520 or b/18130452 are fixed
|
||||||
|
ifeq ($(filter $(TARGET_ARCH),arm arm64),)
|
||||||
include $(LOCAL_PATH)/Android.build.testlib.mk
|
include $(LOCAL_PATH)/Android.build.testlib.mk
|
||||||
|
else
|
||||||
|
# build it for host only
|
||||||
|
build_target := SHARED_LIBRARY
|
||||||
|
build_type := host
|
||||||
|
include $(TEST_PATH)/Android.build.mk
|
||||||
endif
|
endif
|
||||||
|
|
||||||
# -----------------------------------------------------------------------------
|
# -----------------------------------------------------------------------------
|
||||||
|
|
Loading…
Reference in New Issue