From 138deeff23707b2db46bbb5c90f1c08bd4b2a429 Mon Sep 17 00:00:00 2001 From: Peter Jones Date: Thu, 15 Mar 2018 11:13:25 -0400 Subject: Work around clang bugs for scan-build. I don't think the x86 binaries clang builds will actually work unless they just infer -maccumulate-outgoing-args from __attribute__((__ms_abi__), but it's nice to have the analyzer working. Signed-off-by: Peter Jones --- Make.scan-build | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'Make.scan-build') diff --git a/Make.scan-build b/Make.scan-build index e110b3e1..4177906e 100644 --- a/Make.scan-build +++ b/Make.scan-build @@ -11,10 +11,10 @@ scan-clean : scan-build : | scan-test scan-build : clean-shim-objs make $(DASHJ) Cryptlib/OpenSSL/libopenssl.a Cryptlib/libcryptlib.a - scan-build -o scan-results make $(DASHJ) all + scan-build -o scan-results make $(DASHJ) CC=clang all scan-build-all : | scan-test scan-build-all : clean - scan-build -o scan-results make $(DASHJ) all + scan-build -o scan-results make $(DASHJ) CC=clang all .PHONY : scan-build scan-clean -- cgit v1.2.3