Add TOOLPREFIX

This commit is contained in:
warpcoil 2017-12-21 20:35:54 +00:00
parent c99ab08afe
commit 8d91ecb38a

View file

@ -34,7 +34,7 @@ USEGCC = 0
USECLANG = 1 USECLANG = 1
endif endif
AR = ar AR = $(TOOLPREFIX)ar
ifeq ($(USECLANG),1) ifeq ($(USECLANG),1)
USEGCC = 0 USEGCC = 0
@ -43,7 +43,7 @@ CFLAGS_add += -fno-builtin -fno-strict-aliasing
endif endif
ifeq ($(USEGCC),1) ifeq ($(USEGCC),1)
CC = gcc CC = $(TOOLPREFIX)gcc
CFLAGS_add += -fno-gnu89-inline -fno-builtin CFLAGS_add += -fno-gnu89-inline -fno-builtin
endif endif