OSDN Git Service

Make all the uClibc tests use the --uclibc-use-build-dir flag
[uclinux-h8/uClibc.git] / test / unistd / Makefile
index aff74b4..7f40140 100644 (file)
@@ -11,7 +11,7 @@ fork: fork.c ../testsuite.h Makefile $(TESTDIR)/Config $(TESTDIR)/Rules.mak $(TE
        -@ echo " "
        -@ echo "Compiling vs uClibc: "
        -@ echo " "
-       $(TESTCC) $(CFLAGS) -c $< -o $@.o
+       $(TESTCC) $(TEST_CFLAGS) -c $< -o $@.o
        $(TESTCC) $(LDFLAGS) $@.o -o $@ $(EXTRA_LIBS)
        $(STRIPTOOL) -x -R .note -R .comment $@
        ./$@