am f8a66bb3
: Merge "Remove some non-unused makefile generality."
* commit 'f8a66bb31204b42f830c1865a795b5f3eb1e0147': Remove some non-unused makefile generality.
This commit is contained in:
commit
81b4698059
1 changed files with 2 additions and 8 deletions
|
@ -569,23 +569,17 @@ libc_crt_target_cflags += \
|
|||
# static C++ destructors are properly called on dlclose().
|
||||
#
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
libc_crtbegin_extension := c
|
||||
libc_crt_target_so_cflags :=
|
||||
endif
|
||||
ifeq ($(TARGET_ARCH),mips)
|
||||
libc_crtbegin_extension := c
|
||||
libc_crt_target_so_cflags := -fPIC
|
||||
endif
|
||||
ifeq ($(TARGET_ARCH),x86)
|
||||
libc_crtbegin_extension := c
|
||||
libc_crt_target_so_cflags := -fPIC
|
||||
endif
|
||||
ifeq ($(libc_crtbegin_extension),)
|
||||
$(error $(TARGET_ARCH) not supported)
|
||||
endif
|
||||
libc_crt_target_so_cflags += $(libc_crt_target_cflags)
|
||||
libc_crt_target_crtbegin_file := $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin.$(libc_crtbegin_extension)
|
||||
libc_crt_target_crtbegin_so_file := $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin_so.$(libc_crtbegin_extension)
|
||||
libc_crt_target_crtbegin_file := $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin.c
|
||||
libc_crt_target_crtbegin_so_file := $(LOCAL_PATH)/arch-$(TARGET_ARCH)/bionic/crtbegin_so.c
|
||||
|
||||
# See the comment in crtbrand.c for the reason why we need to generate
|
||||
# crtbrand.s before generating crtbrand.o.
|
||||
|
|
Loading…
Reference in a new issue