From 5f90427e0dc5f0b3860bfd26cfc50199ef43ff5f Mon Sep 17 00:00:00 2001 From: Simon Tatham Date: Sat, 4 May 2019 15:18:04 +0100 Subject: [PATCH] Turn off hardware AES for the Coverity build. It seems to have caused a compile error, apparently due to a mismatch between compiler predefines (__SSE2__) and header files (emmintrin.h). The easiest thing is to just turn off the hardware version completely, so the rest of the code can still be scanned. --- Buildscr.cv | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Buildscr.cv b/Buildscr.cv index 41545776..deaf8beb 100644 --- a/Buildscr.cv +++ b/Buildscr.cv @@ -25,7 +25,7 @@ enddelegate # Windows scanner for download). delegate covscan32wine in putty do tar xzvf cov-int.tar.gz - in putty/windows do cov-build --dir ../cov-int make -f Makefile.mgw CC=winegcc RC=wrc XFLAGS="-DCOVERITY -DNO_SECUREZEROMEMORY" + in putty/windows do cov-build --dir ../cov-int make -f Makefile.mgw CC=winegcc RC=wrc XFLAGS="-DCOVERITY -DNO_SECUREZEROMEMORY -D_FORCE_SOFTWARE_AES" in putty do tar czvf cov-int.tar.gz cov-int return putty/cov-int.tar.gz enddelegate