diff options
author | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-30 04:49:58 +0200 |
---|---|---|
committer | Waldemar Brodkorb <wbx@uclibc-ng.org> | 2016-09-30 08:12:27 +0200 |
commit | 15186b99774df74cf8ab02acd1a3f0ffd4c54ca1 (patch) | |
tree | 2dc32fce7a172e1a0110af65a44309dfe64adc04 /Rules.mak | |
parent | 8c53e7524dfb9127b006e773307fdaa4df899a04 (diff) |
ubacktrace/uargp: remove unneeded and false linker scripts
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 |