|
@@ -70,6 +70,7 @@ export MAJOR_VERSION MINOR_VERSION SUBLEVEL VERSION LC_ALL
|
|
|
SHARED_FULLNAME:=libuClibc-$(MAJOR_VERSION).$(MINOR_VERSION).$(SUBLEVEL).so
|
|
|
SHARED_MAJORNAME:=libc.so.$(MAJOR_VERSION)
|
|
|
UCLIBC_LDSO:=ld-uClibc.so.$(MAJOR_VERSION)
|
|
|
+DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)
|
|
|
LIBNAME:=libc.a
|
|
|
LIBC:=$(TOPDIR)libc/$(LIBNAME)
|
|
|
|
|
@@ -314,13 +315,6 @@ ifneq ($(DOASSERTS),y)
|
|
|
CFLAGS += -DNDEBUG
|
|
|
endif
|
|
|
|
|
|
-ifeq ($(HAVE_SHARED),y)
|
|
|
- ifeq ($(BUILD_UCLIBC_LDSO),y)
|
|
|
- LDSO:=$(TOPDIR)lib/$(UCLIBC_LDSO)
|
|
|
- DYNAMIC_LINKER:=$(SHARED_LIB_LOADER_PREFIX)/$(UCLIBC_LDSO)
|
|
|
- endif
|
|
|
-endif
|
|
|
-
|
|
|
CFLAGS_NOPIC:=$(CFLAGS)
|
|
|
ifeq ($(DOPIC),y)
|
|
|
CFLAGS += $(PICFLAG)
|