Clear CFLAGS & LDFLAGS in tests
Clear CFLAGS and LDFLAGS to build the tests, in case the main Makefile passes some flags that aren't handled by tcc (we are not compiling tcc here, we are using tcc to compile the tests).
This commit is contained in:
@ -7,6 +7,10 @@ include $(TOP)/Makefile
|
||||
SRCDIR = $(top_srcdir)/tests
|
||||
VPATH = $(SRCDIR) $(top_srcdir)
|
||||
|
||||
# clear CFLAGS and LDFLAGS
|
||||
CFLAGS :=
|
||||
LDFLAGS :=
|
||||
|
||||
# what tests to run
|
||||
TESTS = \
|
||||
hello-exe \
|
||||
|
||||
Reference in New Issue
Block a user