diff options
author | Eric Andersen <andersen@codepoet.org> | 2002-01-29 13:07:02 +0000 |
---|---|---|
committer | Eric Andersen <andersen@codepoet.org> | 2002-01-29 13:07:02 +0000 |
commit | 4e164bd909dd7cd32a3709fb9f926a0d77ccbad0 (patch) | |
tree | 014d3e4c643cead83b545e0ccaf2f5df78a26be0 /ldso | |
parent | e8e8095637522ace63915b86a1b8081acada1671 (diff) |
Go back to using ld, now that I've found the real problem...
Diffstat (limited to 'ldso')
-rw-r--r-- | ldso/ldso/Makefile | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/ldso/ldso/Makefile b/ldso/ldso/Makefile index 37e114b8f..d7399945a 100644 --- a/ldso/ldso/Makefile +++ b/ldso/ldso/Makefile @@ -33,8 +33,8 @@ LDSO_FULLNAME=ld-uClibc-$(MAJOR_VERSION).$(MINOR_VERSION).so XXFLAGS+=-DUCLIBC_TARGET_PREFIX=\"$(TARGET_PREFIX)\" \ -DUCLIBC_DEVEL_PREFIX=\"$(DEVEL_PREFIX)\" \ -DUCLIBC_BUILD_DIR=\"$(shell cd $(TOPDIR) && pwd)\" -LDFLAGS=-nostdlib -shared --warn-common --export-dynamic --warn-once \ - -z combreloc --sort-common --discard-locals --discard-all +LDFLAGS=-shared --warn-common --export-dynamic --sort-common \ + -z combreloc --discard-locals --discard-all CSRC= ldso.c #hash.c readelflib1.c $(TARGET_ARCH)/elfinterp.c COBJS=$(patsubst %.c,%.o, $(CSRC)) ASRC=$(shell ls $(TARGET_ARCH)/*.S) @@ -48,8 +48,8 @@ endif all: lib lib:: ldso.h $(OBJS) $(DLINK_OBJS) - $(CC) -e _dl_boot $(LDFLAGS) -o $(LDSO_FULLNAME) \ - -Wl,-soname=$(UCLIBC_LDSO) $(OBJS) + $(LD) $(LDFLAGS) -e _dl_boot -soname=$(UCLIBC_LDSO) \ + -o $(LDSO_FULLNAME) $(OBJS); install -d $(TOPDIR)lib install -m 755 $(LDSO_FULLNAME) $(TOPDIR)lib (cd $(TOPDIR)lib && ln -sf $(LDSO_FULLNAME) $(UCLIBC_LDSO)) |