diff options
Diffstat (limited to 'test/stdlib/Makefile')
-rw-r--r-- | test/stdlib/Makefile | 50 |
1 files changed, 25 insertions, 25 deletions
diff --git a/test/stdlib/Makefile b/test/stdlib/Makefile index 863a56492..f551880f7 100644 --- a/test/stdlib/Makefile +++ b/test/stdlib/Makefile @@ -17,16 +17,16 @@ testmalloc_source: -@ cat testmalloc.c -@ echo " " -testmalloc: testmalloc.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +testmalloc: testmalloc.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 " " @@ -35,24 +35,24 @@ testmalloc_glibc: testmalloc.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 " " -mallocbug: mallocbug.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +mallocbug: mallocbug.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 " " @@ -61,11 +61,11 @@ mallocbug_glibc: mallocbug.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 " " @@ -76,13 +76,13 @@ teststrtol_source: -@ cat teststrtol.c -@ echo " " -teststrtol: teststrtol.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +teststrtol: teststrtol.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 -sh $@ @@ -94,8 +94,8 @@ teststrtol_glibc: teststrtol.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 -sh $@ @@ -110,16 +110,16 @@ teststrtol_diff: teststrtol_glibc teststrtol -diff -u teststrtol_glibc.out teststrtol.out -@ echo " " -qsort: qsort.c Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC) +qsort: qsort.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 $@ -./$@ > $@.out -@ echo " " @@ -128,8 +128,8 @@ qsort_glibc: qsort.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 -sh $@ |