diff options
Diffstat (limited to 'Rules.mak')
-rw-r--r-- | Rules.mak | 28 |
1 files changed, 0 insertions, 28 deletions
@@ -140,7 +140,6 @@ export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION ABI_VERSION LC_ALL LIBC := libc SHARED_LIBNAME := $(LIBC).so.$(ABI_VERSION) -UBACKTRACE_DSO := libubacktrace.so.$(ABI_VERSION) UCLIBC_LDSO_NAME := ld-uClibc ARCH_NATIVE_BIT := 32 @@ -548,33 +547,6 @@ link.asneeded = $(if $(CC_FLAG_ASNEEDED),$(if $(CC_FLAG_NO_ASNEEDED),$(CC_FLAG_A # Check for AS_NEEDED support in linker script (binutils>=2.16.1 has it) ifndef ASNEEDED export ASNEEDED:=$(shell $(CC) -Wl,--help 2>/dev/null | grep -q -- --as-needed && echo "AS_NEEDED ( $(UCLIBC_LDSO) )" || echo "$(UCLIBC_LDSO)") - -# Only used in installed libc.so linker script -ifeq ($(UCLIBC_HAS_BACKTRACE),y) -ifeq ($(HARDWIRED_ABSPATH),y) -UBACKTRACE_FULL_NAME := $(subst //,/,$(RUNTIME_PREFIX)$(MULTILIB_DIR)/$(UBACKTRACE_DSO)) -else -UBACKTRACE_FULL_NAME := $(UBACKTRACE_DSO) -endif -export UBACKTRACE_ASNEEDED:=$(shell $(CC) -Wl,--help 2>/dev/null | grep -q -- --as-needed && \ - echo "GROUP ( AS_NEEDED ( $(UBACKTRACE_FULL_NAME) ) )" || \ - echo "GROUP ( $(UBACKTRACE_FULL_NAME) )") -else -export UBACKTRACE_ASNEEDED:="" -endif -ifeq ($(UCLIBC_HAS_ARGP),y) -ifeq ($(HARDWIRED_ABSPATH),y) -# Only used in installed libc.so linker script -UARGP_FULL_NAME := $(subst //,/,$(RUNTIME_PREFIX)$(MULTILIB_DIR)/libuargp.so.$(MAJOR_VERSION)) -else -UARGP_FULL_NAME := libuargp.so.$(MAJOR_VERSION) -endif -export UARGP_ASNEEDED:=$(shell $(CC) -Wl,--help 2>/dev/null | grep -q -- --as-needed && \ - echo "GROUP ( AS_NEEDED ( $(UARGP_FULL_NAME) ) )" || \ - echo "GROUP ( $(UARGP_FULL_NAME) )") -else -export UARGP_ASNEEDED:="" -endif endif # Add a bunch of extra pedantic annoyingly strict checks |