CONFIGURE: Add workaround for MinGW Win32 antivirus false positive on build.

This is triggered by the scummvm-conf.exe binary produced from the OpenGL test.

It is detected by a generic signature in AVG, Malware-bytes and several other
antivirus programs, so not easy to get this fixed.

This workaround avoids this by adding some redundant output code to the binary
which changes it enough to avoid the signature.
This commit is contained in:
digitall 2013-04-17 19:51:23 +01:00
parent 95164a8f24
commit 002c6dec0e

2
configure vendored
View File

@ -3655,7 +3655,7 @@ if test "$_opengl" = auto ; then
# Test the current header for OpenGL
cat > $TMPC << EOF
#include <$i>
int main(void) { return GL_VERSION_1_1; }
int main(void) { printf("ANTIVIRUS FALSE POSITIVE WORKAROUND"); return GL_VERSION_1_1; }
EOF
cc_check $DEFINES $OPENGL_CFLAGS $OPENGL_LIBS && _opengl=yes && break