aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authordigitall2013-04-17 19:51:23 +0100
committerdigitall2013-04-17 19:51:23 +0100
commit002c6dec0e06168b41c45503a849a400a18dcf52 (patch)
tree8dc030e5005095192472c7f1eb3d84e2ece60581
parent95164a8f249ef5f154d219237af2af4ad78e4bac (diff)
downloadscummvm-rg350-002c6dec0e06168b41c45503a849a400a18dcf52.tar.gz
scummvm-rg350-002c6dec0e06168b41c45503a849a400a18dcf52.tar.bz2
scummvm-rg350-002c6dec0e06168b41c45503a849a400a18dcf52.zip
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.
-rwxr-xr-xconfigure2
1 files changed, 1 insertions, 1 deletions
diff --git a/configure b/configure
index d3dc71e44d..90b8f01b8c 100755
--- a/configure
+++ b/configure
@@ -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