Merge "Fix incorrect x86 build rules."
This commit is contained in:
commit
051e28fe21
3 changed files with 2 additions and 2 deletions
|
@ -2,6 +2,8 @@
|
|||
include $(BUILD_SYSTEM)/clang/x86.mk
|
||||
|
||||
CLANG_CONFIG_x86_TARGET_TRIPLE := i686-linux-android
|
||||
# NOTE: There is no i686-linux-android prebuilt, so we must hardcode the
|
||||
# x86_64 target instead.
|
||||
CLANG_CONFIG_x86_TARGET_TOOLCHAIN_PREFIX := \
|
||||
$($(clang_2nd_arch_prefix)TARGET_TOOLCHAIN_ROOT)/x86_64-linux-android/bin
|
||||
|
||||
|
|
1
core/combo/TARGET_linux-x86.mk
Executable file → Normal file
1
core/combo/TARGET_linux-x86.mk
Executable file → Normal file
|
@ -182,7 +182,6 @@ $(hide) $(PRIVATE_CXX) \
|
|||
$(PRIVATE_TARGET_GLOBAL_LDFLAGS) \
|
||||
-nostdlib -Wl,-soname,$(notdir $@) \
|
||||
-shared -Bsymbolic \
|
||||
$(TARGET_GLOBAL_CFLAGS) \
|
||||
$(PRIVATE_TARGET_GLOBAL_LD_DIRS) \
|
||||
$(if $(filter true,$(PRIVATE_NO_CRT)),,$(PRIVATE_TARGET_CRTBEGIN_SO_O)) \
|
||||
$(PRIVATE_ALL_OBJECTS) \
|
||||
|
|
1
core/combo/TARGET_linux-x86_64.mk
Executable file → Normal file
1
core/combo/TARGET_linux-x86_64.mk
Executable file → Normal file
|
@ -188,7 +188,6 @@ $(hide) $(PRIVATE_CXX) \
|
|||
$(PRIVATE_TARGET_GLOBAL_LDFLAGS) \
|
||||
-nostdlib -Wl,-soname,$(notdir $@) \
|
||||
-shared -Bsymbolic \
|
||||
$(TARGET_GLOBAL_CFLAGS) \
|
||||
$(PRIVATE_TARGET_GLOBAL_LD_DIRS) \
|
||||
$(if $(filter true,$(PRIVATE_NO_CRT)),,$(PRIVATE_TARGET_CRTBEGIN_SO_O)) \
|
||||
$(PRIVATE_ALL_OBJECTS) \
|
||||
|
|
Loading…
Reference in a new issue