diff options
| author | seyko <seyko2@gmail.com> | 2015-03-04 11:08:16 +0300 |
|---|---|---|
| committer | seyko <seyko2@gmail.com> | 2015-03-04 11:08:16 +0300 |
| commit | 1cbb4d322bc3c89a3b56d35c803a19f99f33ab65 (patch) | |
| tree | 7ede4f65983e27703789775c67b89ca2cc73a92e | |
| parent | 7ed43415380ec6270e53c0ed3f42e5cb99df1f6e (diff) | |
| download | tinycc-1cbb4d322bc3c89a3b56d35c803a19f99f33ab65.tar.gz tinycc-1cbb4d322bc3c89a3b56d35c803a19f99f33ab65.tar.bz2 | |
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.
| -rw-r--r-- | lib/Makefile | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/lib/Makefile b/lib/Makefile index 6e192b9..1832dd3 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -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 |
