forked from openkylin/platform_build
Remove libthread_db from the default include path.
This should never have been on the default include path. The NDK statically links its own libthread_db, so I'm removing bionic's unused copy from devices. Bug: 11882807 Change-Id: I49a67fe0902cc4bc178360f6c993959774d74e3a
This commit is contained in:
parent
1acb1b64b9
commit
2f8dcdd961
|
@ -153,7 +153,6 @@ $(combo_2nd_arch_prefix)TARGET_RELEASE_CFLAGS := \
|
|||
libc_root := bionic/libc
|
||||
libm_root := bionic/libm
|
||||
libstdc++_root := bionic/libstdc++
|
||||
libthread_db_root := bionic/libthread_db
|
||||
|
||||
|
||||
## on some hosts, the target cross-compiler is not available so do not run this command
|
||||
|
@ -207,7 +206,6 @@ $(combo_2nd_arch_prefix)TARGET_C_INCLUDES := \
|
|||
$(KERNEL_HEADERS) \
|
||||
$(libm_root)/include \
|
||||
$(libm_root)/include/arm \
|
||||
$(libthread_db_root)/include
|
||||
|
||||
$(combo_2nd_arch_prefix)TARGET_CRTBEGIN_STATIC_O := $($(combo_2nd_arch_prefix)TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o
|
||||
$(combo_2nd_arch_prefix)TARGET_CRTBEGIN_DYNAMIC_O := $($(combo_2nd_arch_prefix)TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o
|
||||
|
|
|
@ -128,7 +128,6 @@ TARGET_RELEASE_CFLAGS := \
|
|||
libc_root := bionic/libc
|
||||
libm_root := bionic/libm
|
||||
libstdc++_root := bionic/libstdc++
|
||||
libthread_db_root := bionic/libthread_db
|
||||
|
||||
TARGET_LIBGCC := $(shell $(TARGET_CC) $(TARGET_GLOBAL_CFLAGS) \
|
||||
-print-libgcc-file-name)
|
||||
|
@ -144,7 +143,6 @@ TARGET_C_INCLUDES := \
|
|||
$(KERNEL_HEADERS) \
|
||||
$(libm_root)/include \
|
||||
$(libm_root)/include/arm64 \
|
||||
$(libthread_db_root)/include
|
||||
|
||||
TARGET_CRTBEGIN_STATIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o
|
||||
TARGET_CRTBEGIN_DYNAMIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o
|
||||
|
|
|
@ -140,7 +140,6 @@ TARGET_RELEASE_CFLAGS := \
|
|||
libc_root := bionic/libc
|
||||
libm_root := bionic/libm
|
||||
libstdc++_root := bionic/libstdc++
|
||||
libthread_db_root := bionic/libthread_db
|
||||
|
||||
|
||||
## on some hosts, the target cross-compiler is not available so do not run this command
|
||||
|
@ -198,7 +197,6 @@ TARGET_C_INCLUDES := \
|
|||
$(KERNEL_HEADERS) \
|
||||
$(libm_root)/include \
|
||||
$(libm_root)/include/mips \
|
||||
$(libthread_db_root)/include
|
||||
|
||||
TARGET_CRTBEGIN_STATIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o
|
||||
TARGET_CRTBEGIN_DYNAMIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o
|
||||
|
|
|
@ -72,7 +72,6 @@ TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined
|
|||
libc_root := bionic/libc
|
||||
libm_root := bionic/libm
|
||||
libstdc++_root := bionic/libstdc++
|
||||
libthread_db_root := bionic/libthread_db
|
||||
|
||||
# Define FDO (Feedback Directed Optimization) options.
|
||||
|
||||
|
@ -165,7 +164,6 @@ TARGET_C_INCLUDES := \
|
|||
$(KERNEL_HEADERS) \
|
||||
$(libm_root)/include \
|
||||
$(libm_root)/include/i387 \
|
||||
$(libthread_db_root)/include
|
||||
|
||||
TARGET_CRTBEGIN_STATIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o
|
||||
TARGET_CRTBEGIN_DYNAMIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o
|
||||
|
|
|
@ -74,7 +74,6 @@ TARGET_NO_UNDEFINED_LDFLAGS := -Wl,--no-undefined
|
|||
libc_root := bionic/libc
|
||||
libm_root := bionic/libm
|
||||
libstdc++_root := bionic/libstdc++
|
||||
libthread_db_root := bionic/libthread_db
|
||||
|
||||
# Define FDO (Feedback Directed Optimization) options.
|
||||
|
||||
|
@ -166,7 +165,6 @@ TARGET_C_INCLUDES := \
|
|||
$(KERNEL_HEADERS) \
|
||||
$(libm_root)/include \
|
||||
$(libm_root)/include/amd64 \
|
||||
$(libthread_db_root)/include
|
||||
|
||||
TARGET_CRTBEGIN_STATIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_static.o
|
||||
TARGET_CRTBEGIN_DYNAMIC_O := $(TARGET_OUT_INTERMEDIATE_LIBRARIES)/crtbegin_dynamic.o
|
||||
|
|
|
@ -42,7 +42,6 @@ pathmap_INCL := \
|
|||
libpagemap:system/extras/libpagemap/include \
|
||||
libril:hardware/ril/include \
|
||||
libstdc++:bionic/libstdc++/include \
|
||||
libthread_db:bionic/libthread_db/include \
|
||||
mkbootimg:system/core/mkbootimg \
|
||||
opengl-tests-includes:frameworks/native/opengl/tests/include \
|
||||
recovery:bootable/recovery \
|
||||
|
|
|
@ -55,7 +55,6 @@ PRODUCT_PACKAGES += \
|
|||
libsurfaceflinger \
|
||||
libsurfaceflinger_ddmconnection \
|
||||
libsysutils \
|
||||
libthread_db \
|
||||
libui \
|
||||
libutils \
|
||||
linker \
|
||||
|
|
Loading…
Reference in New Issue