diff --git a/libc/arch-arm/arm.mk b/libc/arch-arm/arm.mk index ccdf5a1d0..0e9beba6a 100644 --- a/libc/arch-arm/arm.mk +++ b/libc/arch-arm/arm.mk @@ -64,13 +64,8 @@ libc_bionic_src_files_arm += \ arch-arm/bionic/sigsetjmp.S \ arch-arm/bionic/syscall.S \ -# These are used by the static and dynamic versions of the libc -# respectively. -libc_arch_static_src_files_arm := \ - arch-arm/bionic/exidx_static.c \ - -libc_arch_dynamic_src_files_arm := \ - arch-arm/bionic/exidx_dynamic.c \ +libc_arch_static_src_files_arm := arch-arm/bionic/exidx_static.c +libc_arch_dynamic_src_files_arm := arch-arm/bionic/exidx_dynamic.c ## CPU variant specific source files ifeq ($(strip $(TARGET_$(my_2nd_arch_prefix)CPU_VARIANT)),) @@ -85,8 +80,7 @@ libc_common_additional_dependencies += $(cpu_variant_mk) cpu_variant_mk := -########################################## -# crt-related + libc_crt_target_cflags_arm := \ -I$(LOCAL_PATH)/arch-arm/include \ -mthumb-interwork diff --git a/libc/arch-arm64/arm64.mk b/libc/arch-arm64/arm64.mk index 4b47c6d17..a64594917 100644 --- a/libc/arch-arm64/arm64.mk +++ b/libc/arch-arm64/arm64.mk @@ -53,14 +53,7 @@ libc_bionic_src_files_arm64 := \ arch-arm64/bionic/syscall.S \ arch-arm64/bionic/vfork.S \ -# These are used by the static and dynamic versions of the libc -# respectively. -libc_arch_static_src_files_arm64 := -libc_arch_dynamic_src_files_arm64 := - -########################################## -# crt-related libc_crt_target_cflags_arm64 := \ -I$(LOCAL_PATH)/arch-arm64/include diff --git a/libc/arch-mips/mips.mk b/libc/arch-mips/mips.mk index 4e007e50c..530c33f5a 100644 --- a/libc/arch-mips/mips.mk +++ b/libc/arch-mips/mips.mk @@ -71,15 +71,7 @@ libc_bionic_src_files_mips += \ arch-mips/string/memset.S \ arch-mips/string/mips_strlen.c \ -# These are used by the static and dynamic versions of the libc -# respectively. -libc_arch_static_src_files_mips := -libc_arch_dynamic_src_files_mips := - - -########################################## -# crt-related libc_crt_target_cflags_mips := \ $($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \ -I$(LOCAL_PATH)/arch-mips/include diff --git a/libc/arch-mips64/mips64.mk b/libc/arch-mips64/mips64.mk index 6977d6ad2..96ee66db7 100644 --- a/libc/arch-mips64/mips64.mk +++ b/libc/arch-mips64/mips64.mk @@ -59,12 +59,7 @@ libc_bionic_src_files_mips64 += bionic/memcpy.c libc_bionic_src_files_mips64 += bionic/memset.c libc_bionic_src_files_mips64 += string/strlen.c -libc_arch_static_src_files_mips64 := -libc_arch_dynamic_src_files_mips64 := - -########################################## -# crt-related libc_crt_target_cflags_mips64 := \ $($(my_2nd_arch_prefix)TARGET_GLOBAL_CFLAGS) \ -I$(LOCAL_PATH)/arch-mips/include diff --git a/libc/arch-x86/x86.mk b/libc/arch-x86/x86.mk index a39fcf2e2..b024acbf8 100644 --- a/libc/arch-x86/x86.mk +++ b/libc/arch-x86/x86.mk @@ -84,15 +84,7 @@ libc_bionic_src_files_x86 += \ arch-x86/string/sse2-wcslen-atom.S \ arch-x86/string/sse2-wcscmp-atom.S \ -# These are used by the static and dynamic versions of the libc -# respectively. -libc_arch_static_src_files_x86 := -libc_arch_dynamic_src_files_x86 := - - -########################################## -# crt-related libc_crt_target_cflags_x86 := \ -m32 \ -I$(LOCAL_PATH)/arch-x86/include diff --git a/libc/arch-x86_64/x86_64.mk b/libc/arch-x86_64/x86_64.mk index 5d2b05bf0..44831a6d9 100644 --- a/libc/arch-x86_64/x86_64.mk +++ b/libc/arch-x86_64/x86_64.mk @@ -53,14 +53,7 @@ libc_bionic_src_files_x86_64 := \ arch-x86_64/bionic/vfork.S \ string/memcmp16.c \ -# These are used by the static and dynamic versions of the libc -# respectively. -libc_arch_static_src_files_x86_64 := -libc_arch_dynamic_src_files_x86_64 := - -########################################## -# crt-related libc_crt_target_cflags_x86_64 += \ -m64 \ -I$(LOCAL_PATH)/arch-x86_64/include