diff options
| author | Matteo Cypriani <mcy@lm7.fr> | 2014-09-07 11:05:58 -0400 |
|---|---|---|
| committer | Matteo Cypriani <mcy@lm7.fr> | 2014-09-07 11:15:31 -0400 |
| commit | b84cdf621416f5aac9d7275ece8ca17fe15f472d (patch) | |
| tree | 9e58de177042bc4c59f7f24cdfb7577aad4ec42c /tests/tests2 | |
| parent | 178275dc0cbb3009728913689b489608c0469bdd (diff) | |
| download | tinycc-b84cdf621416f5aac9d7275ece8ca17fe15f472d.tar.gz tinycc-b84cdf621416f5aac9d7275ece8ca17fe15f472d.tar.bz2 | |
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).
Diffstat (limited to 'tests/tests2')
| -rw-r--r-- | tests/tests2/Makefile | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/tests/tests2/Makefile b/tests/tests2/Makefile index bfd37e5..66d2f5a 100644 --- a/tests/tests2/Makefile +++ b/tests/tests2/Makefile @@ -1,6 +1,10 @@ TOP = ../.. include $(TOP)/Makefile +# clear CFLAGS and LDFLAGS +CFLAGS := +LDFLAGS := + ifdef CONFIG_WIN32 TCCFLAGS = -B$(top_srcdir)/win32 -I$(top_srcdir)/include -L$(TOP) else |
