Use gcc to generate tcctest.gcc
authorThomas Preud'homme <robotux@celest.fr>
Fri, 25 Jan 2013 19:14:10 +0000 (25 20:14 +0100)
committerThomas Preud'homme <robotux@celest.fr>
Fri, 25 Jan 2013 19:14:10 +0000 (25 20:14 +0100)
tests/Makefile

index c183342..7ea9d92 100644 (file)
@@ -85,7 +85,7 @@ libtcc_test$(EXESUF): libtcc_test.c $(top_builddir)/$(LIBTCC)
 # copy only tcclib.h so GCC's stddef and stdarg will be used
 test.ref: tcctest.c
        cp ../include/tcclib.h .
-       $(CC) -o tcctest.gcc $< -I. $(CPPFLAGS) -w $(CFLAGS) $(NATIVE_DEFINES) -std=gnu99 -O0 -fno-omit-frame-pointer $(LDFLAGS)
+       gcc -o tcctest.gcc $< -I. $(CPPFLAGS) -w $(CFLAGS) $(NATIVE_DEFINES) -std=gnu99 -O0 -fno-omit-frame-pointer $(LDFLAGS)
        ./tcctest.gcc > $@
 
 # auto test