summaryrefslogtreecommitdiff
path: root/libc/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2002-08-09 12:35:37 +0000
committerEric Andersen <andersen@codepoet.org>2002-08-09 12:35:37 +0000
commit9499715d4881a8535ca0e7476b3691e498179eb5 (patch)
tree7915d3840f759864da58a55bc689356a8f2140c4 /libc/Makefile
parent3c3f9852802e6fb16b7fdd1b20b14ae6edb4a400 (diff)
Be more path independent
Diffstat (limited to 'libc/Makefile')
-rw-r--r--libc/Makefile2
1 files changed, 1 insertions, 1 deletions
diff --git a/libc/Makefile b/libc/Makefile
index a4cb61396..fccca7b4f 100644
--- a/libc/Makefile
+++ b/libc/Makefile
@@ -45,7 +45,7 @@ shared: $(TOPDIR)lib/$(LIBNAME)
@mkdir tmp
$(AR) rv ./tmp/libgcc-need.a
@(cd tmp && CC=$(CC) LD=$(LD) NM=$(NM) AR=$(AR) \
- /bin/sh ../../extra/scripts/get-needed-libgcc-objects.sh)
+ /bin/sh $(TOPDIR)../extra/scripts/get-needed-libgcc-objects.sh)
$(LD) $(LDFLAGS) -soname=$(SHARED_MAJORNAME) -o $(SHARED_FULLNAME) \
--whole-archive ./tmp/libgcc-need.a $(LIBNAME) --no-whole-archive \
$(TOPDIR)/libc/misc/internals/interp.o