From: John Hodge Date: Sun, 15 Jan 2012 09:53:17 +0000 (+0800) Subject: BuildConf/host - Slight fix to allow scan-build for non 64-bit architectures X-Git-Tag: rel0.14~6 X-Git-Url: https://git.ucc.asn.au/?a=commitdiff_plain;h=4ad6151eb6d3138c9070cb376f5ba9fa3ec511e8;p=tpg%2Facess2.git BuildConf/host - Slight fix to allow scan-build for non 64-bit architectures --- diff --git a/BuildConf/host/Makefile.cfg b/BuildConf/host/Makefile.cfg index 1a28638e..2f8488ab 100644 --- a/BuildConf/host/Makefile.cfg +++ b/BuildConf/host/Makefile.cfg @@ -6,10 +6,13 @@ SAVED_CC_ := $(CC) SAVED_LD_ := $(LD) -include $(ACESSDIR)/BuildConf/x86_64/Makefile.cfg +include $(ACESSDIR)/BuildConf/$(HOST_ARCH)/Makefile.cfg OBJDUMP := objdump -S CC := $(SAVED_CC_) +ifeq ($(HOST_ARCH),x86) +CC += -m32 +endif LD := $(SAVED_LD_)