mirror of
https://github.com/TinyCC/tinycc.git
synced 2025-11-16 04:24:45 +00:00
Fix cross compilers
Only native compilers support -run and hence the new -dT.
This commit is contained in:
@@ -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 */
|
||||
|
||||
/* -------------------------------------------------------------- */
|
||||
|
||||
Reference in New Issue
Block a user