summaryrefslogtreecommitdiff
path: root/test/stdlib
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2001-07-12 20:40:53 +0000
committerEric Andersen <andersen@codepoet.org>2001-07-12 20:40:53 +0000
commitd6e6ee0202f8705a30b10b53eb259a2d62ece466 (patch)
treef3a3f194b2dc1c3af6adb91fac103ef304379d26 /test/stdlib
parentdd5db8b9f54ccfc62cf74f6acfba8b73db3c5977 (diff)
Use uClibc's ldd, not the system one which is probably broken
anyways. This ensures correct answers, and prevents all the annoying segfaults from the system ldd. -Erik
Diffstat (limited to 'test/stdlib')
-rw-r--r--test/stdlib/Makefile16
1 files changed, 8 insertions, 8 deletions
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile
index f551880f7..061933e03 100644
--- a/test/stdlib/Makefile
+++ b/test/stdlib/Makefile
@@ -25,7 +25,7 @@ testmalloc: testmalloc.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "
@@ -38,7 +38,7 @@ testmalloc_glibc: testmalloc.c Makefile
$(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "
@@ -51,7 +51,7 @@ mallocbug: mallocbug.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "
@@ -64,7 +64,7 @@ mallocbug_glibc: mallocbug.c Makefile
$(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@
-@ echo " "
@@ -84,7 +84,7 @@ teststrtol: teststrtol.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -sh $@
-./$@ > $@.out
-@ echo " "
@@ -97,7 +97,7 @@ teststrtol_glibc: teststrtol.c Makefile
$(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -sh $@
-./$@ > $@.out
-@ echo " "
@@ -118,7 +118,7 @@ qsort: qsort.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
$(CC) $(CFLAGS) -c $< -o $@.o
$(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -l $@
-./$@ > $@.out
-@ echo " "
@@ -131,7 +131,7 @@ qsort_glibc: qsort.c Makefile
$(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
$(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
- -ldd $@
+ -$(LDD) $@
ls -sh $@
-./$@ > $@.out
-@ echo " "