libc: stop using the custom linker script
stop using the custom linker script. It prevents relro from working on libc. This reverts commit b091dd9bf27a9132c4ac9da55f2f4a87ffe3b59f.
This commit is contained in:
parent
2ddea18f81
commit
a2758f19ce
@ -659,12 +659,6 @@ include $(CLEAR_VARS)
|
||||
# see libc/bionic/pthread_debug.c for details
|
||||
|
||||
LOCAL_CFLAGS := $(libc_common_cflags) -DPTHREAD_DEBUG -DPTHREAD_DEBUG_ENABLED=0
|
||||
|
||||
ifeq ($(TARGET_ARCH),arm)
|
||||
# TODO: At some point, we need to remove this custom linker script.
|
||||
LOCAL_LDFLAGS := -Wl,-T,$(BUILD_SYSTEM)/armelf.xsc
|
||||
endif
|
||||
|
||||
LOCAL_C_INCLUDES := $(libc_common_c_includes)
|
||||
|
||||
LOCAL_SRC_FILES := \
|
||||
|
Loading…
x
Reference in New Issue
Block a user