build-libtcc1-by-tcc: use a new tcc to compile a libtcc1.c and alloca.S

This will allow to build a libtcc1.a even if a bootstrap compiler
don't support a target arch.

There was alrady this feature but only for OS Darwin.
master
seyko 2015-03-04 11:08:16 +03:00
parent 7ed4341538
commit 1cbb4d322b
1 changed files with 0 additions and 7 deletions

View File

@ -15,19 +15,12 @@ ifndef TARGET # native library
else
ifeq ($(ARCH),i386)
TARGET = i386
ifneq ($(TARGETOS),Darwin)
XCC = $(CC)
endif
else
ifeq ($(ARCH),x86-64)
TARGET = x86_64
ifneq ($(TARGETOS),Darwin)
XCC = $(CC)
endif
else
ifeq ($(ARCH),arm)
TARGET = arm
XCC = $(CC)
else
ifeq ($(ARCH),arm64)
TARGET = arm64