trim unnecessary bits from my previous 3 commits

This commit is contained in:
Henry Kroll III 2010-12-05 12:39:55 -08:00
parent 1c821373ad
commit 33f86ada92
2 changed files with 1 additions and 4 deletions

View file

@ -144,7 +144,6 @@ TCCDOCS = tcc.1 tcc-doc.html tcc-doc.info
ifdef CONFIG_CROSS ifdef CONFIG_CROSS
PROGS+=$(PROGS_CROSS) PROGS+=$(PROGS_CROSS)
PROGS_CROSS_WAIT=$(PROGS_CROSS)
TCCLIBS+=$(LIBTCC1_CROSS) TCCLIBS+=$(LIBTCC1_CROSS)
endif endif
@ -212,7 +211,7 @@ tiny_libmaker$(EXESUF): win32/tools/tiny_libmaker.c
# TinyCC runtime libraries # TinyCC runtime libraries
libtcc1.a : FORCE libtcc1.a : FORCE
@$(MAKE) -C lib native @$(MAKE) -C lib native
lib/%/libtcc1.a : FORCE $(PROGS_CROSS_WAIT) lib/%/libtcc1.a : FORCE $(PROGS_CROSS)
@$(MAKE) -C lib cross TARGET=$* @$(MAKE) -C lib cross TARGET=$*
bcheck.o : lib/bcheck.c bcheck.o : lib/bcheck.c
gcc -c $< -o $@ -O2 -Wall gcc -c $< -o $@ -O2 -Wall

2
tcc.c
View file

@ -348,8 +348,6 @@ static int parse_args(TCCState *s, int argc, char **argv)
case TCC_OPTION_nostdinc: case TCC_OPTION_nostdinc:
s->nostdinc = 1; s->nostdinc = 1;
break; break;
case TCC_OPTION_s:
break;
case TCC_OPTION_nostdlib: case TCC_OPTION_nostdlib:
s->nostdlib = 1; s->nostdlib = 1;
break; break;