summaryrefslogtreecommitdiff
path: root/ldso
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-06-15 23:58:10 +0000
committerEric Andersen <andersen@codepoet.org>2001-06-15 23:58:10 +0000
commit34d61933bb059372c68a4cfacc4ce801dc1f28db (patch)
tree09c0a2438db7dc2efda12f4b0e588aa31db217d9 /ldso
parent1c8b3c30f9bb9690d48c5196c8481455e3634cd4 (diff)
A few build updates
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