diff --git a/Makefile b/Makefile index b3c0e713..e6367fc6 100644 --- a/Makefile +++ b/Makefile @@ -144,7 +144,6 @@ TCCDOCS = tcc.1 tcc-doc.html tcc-doc.info ifdef CONFIG_CROSS PROGS+=$(PROGS_CROSS) -PROGS_CROSS_WAIT=$(PROGS_CROSS) TCCLIBS+=$(LIBTCC1_CROSS) endif @@ -212,7 +211,7 @@ tiny_libmaker$(EXESUF): win32/tools/tiny_libmaker.c # TinyCC runtime libraries libtcc1.a : FORCE @$(MAKE) -C lib native -lib/%/libtcc1.a : FORCE $(PROGS_CROSS_WAIT) +lib/%/libtcc1.a : FORCE $(PROGS_CROSS) @$(MAKE) -C lib cross TARGET=$* bcheck.o : lib/bcheck.c gcc -c $< -o $@ -O2 -Wall diff --git a/tcc.c b/tcc.c index 2f9f6bb8..817eb683 100644 --- a/tcc.c +++ b/tcc.c @@ -348,8 +348,6 @@ static int parse_args(TCCState *s, int argc, char **argv) case TCC_OPTION_nostdinc: s->nostdinc = 1; break; - case TCC_OPTION_s: - break; case TCC_OPTION_nostdlib: s->nostdlib = 1; break;