summaryrefslogtreecommitdiff
path: root/test/stat
diff options
context:
space:
mode:
Diffstat (limited to 'test/stat')
-rw-r--r--test/stat/Makefile14
1 files changed, 7 insertions, 7 deletions
diff --git a/test/stat/Makefile b/test/stat/Makefile
index 7d09dbcb8..2247f283f 100644
--- a/test/stat/Makefile
+++ b/test/stat/Makefile
@@ -15,16 +15,16 @@ stat_source:
-@ cat stat.c
-@ echo " "
-stat: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+stat: stat.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(CC)
-@ echo "-------"
-@ echo " "
-@ echo "Compiling vs uClibc: "
-@ echo " "
- $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o
- $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
+ $(CC) $(CFLAGS) -c $< -o $@.o
+ $(CC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
$(STRIPTOOL) -x -R .note -R .comment $@
-ldd $@
- ls $(LSFLAGS) $@
+ ls -l $@
-./$@
-@ echo " "
@@ -33,11 +33,11 @@ stat_glibc: stat.c Makefile
-@ echo " "
-@ echo "Compiling vs GNU libc: "
-@ echo " "
- $(CC) $(CFLAGS) -c $< -o $@.o
- $(CC) $(LDFLAGS) $@.o -o $@
+ $(HOST_CC) $(GLIBC_CFLAGS) -c $< -o $@.o
+ $(HOST_CC) $(GLIBC_LDFLAGS) $@.o -o $@
$(STRIPTOOL) -x -R .note -R .comment $@
-ldd $@
- ls $(LSFLAGS) $@
+ ls -l $@
-./$@
-@ echo " "