From 4ad6151eb6d3138c9070cb376f5ba9fa3ec511e8 Mon Sep 17 00:00:00 2001 From: John Hodge Date: Sun, 15 Jan 2012 17:53:17 +0800 Subject: [PATCH] BuildConf/host - Slight fix to allow scan-build for non 64-bit architectures --- BuildConf/host/Makefile.cfg | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) 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_) -- 2.20.1