Browse code

_GLIBCXX_PARALLEL is not supported: it creates threads before we fork() causing deadlock.

Török Edvin authored on 2010/01/27 21:42:40
Showing 1 changed files
... ...
@@ -65,6 +65,10 @@
65 65
 #error "Thread support was explicitly disabled. Cannot continue"
66 66
 #endif
67 67
 
68
+#ifdef _GLIBCXX_PARALLEL
69
+#error "libstdc++ parallel mode is not supported for ClamAV. Please remove -D_GLIBCXX_PARALLEL from CXXFLAGS!"
70
+#endif
71
+
68 72
 #ifdef HAVE_CONFIG_H
69 73
 #undef PACKAGE_BUGREPORT
70 74
 #undef PACKAGE_NAME