Mercurial > hg > th-libs
changeset 446:e0cead622dce
Possibly fix external build things and llvm static analyzer runs.
author | Matti Hamalainen <ccr@tnsp.org> |
---|---|
date | Wed, 25 Oct 2017 18:23:19 +0300 |
parents | 6d29aaeab290 |
children | 6776928afca1 |
files | Makefile.inc |
diffstat | 1 files changed, 8 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/Makefile.inc Thu Oct 19 17:37:04 2017 +0300 +++ b/Makefile.inc Wed Oct 25 18:23:19 2017 +0300 @@ -1,7 +1,15 @@ +ifneq ($(BINTOOL_PREFIX),) CC = $(BINTOOL_PREFIX)gcc CXX = $(BINTOOL_PREFIX)g++ AR = $(BINTOOL_PREFIX)ar RANLIB = $(BINTOOL_PREFIX)ranlib +else +CC ?= $(BINTOOL_PREFIX)gcc +CXX ?= $(BINTOOL_PREFIX)g++ +AR ?= $(BINTOOL_PREFIX)ar +RANLIB ?= $(BINTOOL_PREFIX)ranlib +endif + INSTALL ?= install MKDIR ?= mkdir MKDIR_P ?= $(MKDIR) -p @@ -10,7 +18,6 @@ NOINST_TARGETS += $(THLIBS_A) - ## ## Target rules ##