From 28e1f87d9e1596b780624762242034e0d440ca3d Mon Sep 17 00:00:00 2001 From: Gregory Hainaut Date: Sun, 22 Jan 2017 18:44:56 +0100 Subject: [PATCH] build.sh: reduce the number of define for cppcheck analysis + add cdvd giga --- build.sh | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/build.sh b/build.sh index b72df23dc9..eb500dd4f4 100755 --- a/build.sh +++ b/build.sh @@ -198,12 +198,13 @@ if [ "$cppcheck" -eq 1 ] && command -v cppcheck >/dev/null ; then define="" for undef in _WINDOWS _M_AMD64 _MSC_VER WIN32 __INTEL_COMPILER __x86_64__ \ - __SSE4_1__ __SSSE3__ __SSE__ __AVX2__ __USE_ISOC11 ASAN_WORKAROUND ENABLE_OPENCL ENABLE_OGL_DEBUG + __SSE4_1__ __SSSE3__ __SSE__ __AVX2__ __USE_ISOC11 ASAN_WORKAROUND ENABLE_OPENCL ENABLE_OGL_DEBUG \ + XBYAK_USE_MMAP_ALLOCATOR MAP_ANONYMOUS MAP_ANON XBYAK_DISABLE_AVX512 do define="$define -U$undef" done check="--enable=warning,style,missingInclude" - for d in pcsx2 common plugins/GSdx plugins/spu2\-x plugins/onepad + for d in pcsx2 common plugins/GSdx plugins/spu2\-x plugins/onepad plugins/cdvdGigaherz do flat_d=$(echo $d | sed -e 's@/@_@') log=cpp_check__${flat_d}.log