diff options
| author | seyko <seyko2@gmail.com> | 2015-04-10 06:53:48 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-04-10 06:53:48 +0300 |
| commit | 5cd4393a542ef4c64df7dcbb3fbe3a629666239d (patch) | |
| tree | 999d6146f8af08ce50245a7df1389b420677a5a0 /libtcc.c | |
| parent | 089ce6235c99638ad4542a57af4d09e2be0efc88 (diff) | |
| download | tinycc-5cd4393a542ef4c64df7dcbb3fbe3a629666239d.tar.gz tinycc-5cd4393a542ef4c64df7dcbb3fbe3a629666239d.tar.bz2 | |
handle a -s option by executing sstrip/strip program
Diffstat (limited to 'libtcc.c')
| -rw-r--r-- | libtcc.c | 4 |
1 files changed, 3 insertions, 1 deletions
@@ -1967,10 +1967,12 @@ PUB_FUNC int tcc_parse_args(TCCState *s, int argc, char **argv) case TCC_OPTION_dumpversion: printf ("%s\n", TCC_VERSION); exit(0); + case TCC_OPTION_s: + s->do_strip = 1; + break; case TCC_OPTION_O: case TCC_OPTION_pedantic: case TCC_OPTION_pipe: - case TCC_OPTION_s: case TCC_OPTION_x: /* ignored */ break; |
