summaryrefslogtreecommitdiff
blob: 362dd91c2cbe37821968268294fa585b4d3cff37 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
Added-By: Gordon Malm <gengor@gentoo.org>

Disable SSE2 in fadeeffect for <gcc-4

See: http://bugs.gentoo.org/show_bug.cgi?id=256804

--- a/ksmserver/fadeeffect.cpp
+++ b/ksmserver/fadeeffect.cpp
@@ -41,7 +41,7 @@
 #  if defined(__MMX__)
 #    define HAVE_MMX
 #  endif
-#  if defined(__SSE2__)
+#  if defined(__SSE2__) && __GNUC__ > 3
 #    define HAVE_SSE2
 #  endif
 #endif