summaryrefslogtreecommitdiff
path: root/test/unistd/Makefile
diff options
context:
space:
mode:
Diffstat (limited to 'test/unistd/Makefile')
-rw-r--r--test/unistd/Makefile10
1 files changed, 5 insertions, 5 deletions
diff --git a/test/unistd/Makefile b/test/unistd/Makefile
index 7f4014074..49febf79a 100644
--- a/test/unistd/Makefile
+++ b/test/unistd/Makefile
@@ -6,13 +6,13 @@ include $(TESTDIR)/Rules.mak
TARGETS=fork fork_glibc
all: $(TARGETS)
-fork: fork.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TESTCC)
+fork: fork.c ../testsuite.h 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 $@
./$@
-@ echo " "
@@ -22,8 +22,8 @@ fork_glibc: fork.c ../testsuite.h 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 $@
-./$@
-@ echo " "