From 110a4edc154f6fb73ef3d312630455f68641123f Mon Sep 17 00:00:00 2001 From: grischka Date: Sat, 16 May 2009 22:30:13 +0200 Subject: drop alloca #define (Because GNU's alloca.h unconditionally #undef's alloca) Also, remove gcc specific sections in headers. and instead change tests such that gcc does not use them. --- tests/Makefile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'tests/Makefile') diff --git a/tests/Makefile b/tests/Makefile index 61df559..ddd4932 100644 --- a/tests/Makefile +++ b/tests/Makefile @@ -37,7 +37,8 @@ libtcc_test$(EXESUF): libtcc_test.c ../libtcc.a # test.ref - generate using gcc test.ref: tcctest.c - $(CC) -o tcctest.gcc $< -w -I.. -I../include $(CFLAGS) + cp -u ../include/tcclib.h . + $(CC) -o tcctest.gcc $< -I. -w $(CFLAGS) ./tcctest.gcc > $@ # auto test @@ -141,4 +142,4 @@ cache: tcc_g # clean clean: rm -vf *~ *.o *.a *.bin *.i *.ref *.out *.out? *.gcc \ - tcctest[1234] ex? libtcc_test$(EXESUF) tcc_g + tcctest[1234] ex? libtcc_test$(EXESUF) tcc_g tcclib.h -- cgit v1.3.1