diff options
| author | Michael Matz <matz@suse.de> | 2017-07-16 21:03:25 +0200 |
|---|---|---|
| committer | Michael Matz <matz@suse.de> | 2017-07-16 21:03:25 +0200 |
| commit | 3f13e33872aeac7d1363ac9bd01baad9f8a80764 (patch) | |
| tree | fe295c77af66fcb184f103fca30649d12f872f13 /tcctools.c | |
| parent | 7f1ab9b1e111b9ea9261eec4b7c6fb0f42591eef (diff) | |
| download | tinycc-3f13e33872aeac7d1363ac9bd01baad9f8a80764.tar.gz tinycc-3f13e33872aeac7d1363ac9bd01baad9f8a80764.tar.bz2 | |
Fix cross compilers
Only native compilers support -run and hence the new -dT.
Diffstat (limited to 'tcctools.c')
| -rw-r--r-- | tcctools.c | 2 |
1 files changed, 2 insertions, 0 deletions
@@ -543,6 +543,7 @@ ST_FUNC void gen_makedeps(TCCState *s, const char *target, const char *filename) fclose(depout); } +#ifdef TCC_IS_NATIVE /* -------------------------------------------------------------- */ /* run test snippets from file */ @@ -647,5 +648,6 @@ ST_FUNC int tcc_tool_test(TCCState *s, int argc, char **argv) tcc_free(buf); exit(0); } +#endif /* TCC_IS_NATIVE */ /* -------------------------------------------------------------- */ |
