From 896a0c881ac350ba9f7fbeeef8f75b7d1ec0510e Mon Sep 17 00:00:00 2001 From: seyko Date: Tue, 10 Mar 2015 13:54:12 +0300 Subject: [PATCH] don't use a *-tcc to compile *.S files for ARM* A tcc for ARM* don't have an assembler. This is partial reverse of the commit build-libtcc1-by-tcc: use a new tcc to compile a libtcc1.c and alloca.S --- lib/Makefile | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/Makefile b/lib/Makefile index 22886008..5d04500a 100644 --- a/lib/Makefile +++ b/lib/Makefile @@ -21,9 +21,11 @@ ifndef TARGET # native library else ifeq ($(ARCH),arm) TARGET = arm + XCC = $(CC) else ifeq ($(ARCH),arm64) TARGET = arm64 + XCC = $(CC) else endif endif