From 443636be415c1920f071cfe4907fcc361b2999ce Mon Sep 17 00:00:00 2001 From: Eric Andersen Date: Fri, 7 Mar 2003 12:23:11 +0000 Subject: Patch from Stefan Allius the ldd.c wasn't compilable for SuperH due to a missing ELFCLASSM define and the readelf executable was linked with a wrong dynamic linker path. To fix this I removed the --uclibc-use-build-dir. The patch also fixed all the compiler warnings (-Wall -W). Erik made a few additional changes to eliminate unused function arguments and fixup a static variable that was was doing the wrong thing --- ldso/util/Makefile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'ldso/util/Makefile') diff --git a/ldso/util/Makefile b/ldso/util/Makefile index 7d49ee523..b7712f82a 100644 --- a/ldso/util/Makefile +++ b/ldso/util/Makefile @@ -45,7 +45,7 @@ readelf: readelf.c strip -x -R .note -R .comment $@ readelf.target: readelf.c - $(TARGET_CC) $(CFLAGS) --uclibc-use-build-dir -Wl,-s readelf.c -o $@ + $(TARGET_CC) $(CFLAGS) -Wl,-s readelf.c -o $@ $(STRIPTOOL) -x -R .note -R .comment $@ readsoname.o: readsoname.c readsoname2.c -- cgit v1.2.3