summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
Diffstat (limited to 'ldso')
-rw-r--r--ldso/Makefile2
-rw-r--r--ldso/util/Makefile4
2 files changed, 3 insertions, 3 deletions
diff --git a/ldso/Makefile b/ldso/Makefile
index f26489eee..aa37d2ea4 100644
--- a/ldso/Makefile
+++ b/ldso/Makefile
@@ -1,7 +1,7 @@
TOPDIR=../
include $(TOPDIR)Rules.mak
-SUBDIRS = util libdl
+SUBDIRS = libdl
ALL_SUBDIRS = util libdl d-link
all:
diff --git a/ldso/util/Makefile b/ldso/util/Makefile
index cb5cfea34..dd69c9b10 100644
--- a/ldso/util/Makefile
+++ b/ldso/util/Makefile
@@ -17,13 +17,13 @@ ldd.o: ldd.c
$(STRIPTOOL) -x -R .note -R .comment $*.o
readelf: readelf.c
- $(TARGET_CC) $(TARGET_CFLAGS) readelf.c -o $@
+ $(TARGET_CC) $(TARGET_CFLAGS) -static readelf.c -o $@
ldconfig: ldconfig.o readsoname.o
$(TARGET_CC) $(TARGET_CFLAGS) -static $^ -o $@
ldd: ldd.o readsoname.o
- $(TARGET_CC) $(TARGET_CFLAGS) $^ -o $@
+ $(TARGET_CC) $(TARGET_CFLAGS) -static $^ -o $@
clean:
rm -f ldconfig ldd readelf *.o *~ core