forked from openkylin/platform_build
am 2f9fa520: Merge "Fix build breakage due to incorrect bcc_compat RS_TRIPLE."
* commit '2f9fa5202532fb2b5c9ea89a4c15171346f63ec1': Fix build breakage due to incorrect bcc_compat RS_TRIPLE.
This commit is contained in:
commit
22270a7d68
|
@ -54,3 +54,4 @@ $(clang_2nd_arch_prefix)CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE := armv7-none-linux-gnueabi
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS :=
|
||||
RS_COMPAT_TRIPLE := armv7-none-linux-gnueabi
|
||||
|
|
|
@ -52,3 +52,4 @@ CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
RS_TRIPLE := aarch64-linux-android
|
||||
RS_TRIPLE_CFLAGS :=
|
||||
RS_COMPAT_TRIPLE := aarch64-linux-android
|
||||
|
|
|
@ -52,3 +52,4 @@ $(clang_2nd_arch_prefix)CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE := armv7-none-linux-gnueabi
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS :=
|
||||
RS_COMPAT_TRIPLE := mipsel-linux-android
|
||||
|
|
|
@ -52,3 +52,4 @@ CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
RS_TRIPLE := aarch64-linux-android
|
||||
RS_TRIPLE_CFLAGS :=
|
||||
RS_COMPAT_TRIPLE := mips64el-linux-android
|
||||
|
|
|
@ -54,3 +54,4 @@ $(clang_2nd_arch_prefix)CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE := armv7-none-linux-gnueabi
|
||||
$(clang_2nd_arch_prefix)RS_TRIPLE_CFLAGS := -D__i386__
|
||||
RS_COMPAT_TRIPLE := i686-linux-android
|
||||
|
|
|
@ -52,3 +52,4 @@ CLANG_TARGET_GLOBAL_LDFLAGS := \
|
|||
|
||||
RS_TRIPLE := aarch64-linux-android
|
||||
RS_TRIPLE_CFLAGS := -D__x86_64__
|
||||
RS_COMPAT_TRIPLE := x86_64-linux-android
|
||||
|
|
|
@ -879,7 +879,7 @@ define transform-bc-to-so
|
|||
@echo "Renderscript compatibility: $(notdir $@) <= $(notdir $<)"
|
||||
$(hide) mkdir -p $(dir $@)
|
||||
$(hide) $(BCC_COMPAT) -O3 -o $(dir $@)/$(notdir $(<:.bc=.o)) -fPIC -shared \
|
||||
-rt-path $(RS_PREBUILT_CLCORE) -mtriple $(RS_TRIPLE) $<
|
||||
-rt-path $(RS_PREBUILT_CLCORE) -mtriple $(RS_COMPAT_TRIPLE) $<
|
||||
$(hide) $(PRIVATE_CXX) -shared -Wl,-soname,$(notdir $@) -nostdlib \
|
||||
-Wl,-rpath,\$$ORIGIN/../lib \
|
||||
$(dir $@)/$(notdir $(<:.bc=.o)) \
|
||||
|
|
Loading…
Reference in New Issue