Merge pull request #174 from iniserve/master

Consider:  Add TOOLPREFIX
This commit is contained in:
Viral B. Shah 2018-06-18 15:58:43 -04:00 committed by GitHub
commit 3aa5c3bc47
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

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