summaryrefslogtreecommitdiffstats
path: root/src/corelib
diff options
context:
space:
mode:
authorThiago Macieira <thiago.macieira@nokia.com>2010-02-26 17:17:02 (GMT)
committerThiago Macieira <thiago.macieira@nokia.com>2010-02-26 17:17:02 (GMT)
commit2f51b3c71068be522af06652d64b5673c7685a33 (patch)
treebd465aed357369c153bf196673f72f9cf63813a5 /src/corelib
parent70e260932f0659eb930969881366ce7cb6472756 (diff)
downloadQt-2f51b3c71068be522af06652d64b5673c7685a33.zip
Qt-2f51b3c71068be522af06652d64b5673c7685a33.tar.gz
Qt-2f51b3c71068be522af06652d64b5673c7685a33.tar.bz2
Fix compilation on solaris-g++-x86-64: emmintrin.h is not available.
We have a test to verify if this file is available, but the test requires qmake to be built first. So don't enable the SSE2 intrinsics for the Latin-1 transformations in the bootstrapped tools. Reviewed-by: Trust Me
Diffstat (limited to 'src/corelib')
-rw-r--r--src/corelib/tools/qsimd_p.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/corelib/tools/qsimd_p.h b/src/corelib/tools/qsimd_p.h
index 556db14..369fab7 100644
--- a/src/corelib/tools/qsimd_p.h
+++ b/src/corelib/tools/qsimd_p.h
@@ -61,7 +61,7 @@ QT_MODULE(Core)
#endif
// SSE intrinsics
-#if defined(__SSE2__)
+#if defined(__SSE2__) && !defined(QT_BOOTSTRAPPED)
#if defined(QT_LINUXBASE)
/// this is an evil hack - the posix_memalign declaration in LSB
/// is wrong - see http://bugs.linuxbase.org/show_bug.cgi?id=2431