summaryrefslogtreecommitdiff
path: root/ldso/util/Makefile
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2003-03-07 12:23:11 +0000
committerEric Andersen <andersen@codepoet.org>2003-03-07 12:23:11 +0000
commit443636be415c1920f071cfe4907fcc361b2999ce (patch)
tree49c863ca968b578a2af684f0b96c5f5217b0b816 /ldso/util/Makefile
parenta2a493671ebbb9728d09eb99f0b8b3e0da5e88f8 (diff)
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
Diffstat (limited to 'ldso/util/Makefile')
-rw-r--r--ldso/util/Makefile2
1 files changed, 1 insertions, 1 deletions
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