summaryrefslogtreecommitdiff
path: root/ldso/util
diff options
context:
space:
mode:
Diffstat (limited to 'ldso/util')
-rw-r--r--ldso/util/Makefile4
1 files changed, 2 insertions, 2 deletions
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