diff options
author | Davide Beatrici <davidebeatrici@gmail.com> | 2017-02-23 18:42:18 +0300 |
---|---|---|
committer | Davide Beatrici <davidebeatrici@gmail.com> | 2017-03-17 21:14:17 +0300 |
commit | 5754a097abc2aed8b449aa40ee47a73eecbfe9cb (patch) | |
tree | c28fbddeccfe834b76ea6a68799890caf13fe821 /qmake/compiler.pri | |
parent | 45a40bfbfbb113421c67b66330d0176936b892a4 (diff) |
compiler.pri: Enable SSE and SSE2 for MinGW
Diffstat (limited to 'qmake/compiler.pri')
-rw-r--r-- | qmake/compiler.pri | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/qmake/compiler.pri b/qmake/compiler.pri index 2182f62a3..ae5327cf4 100644 --- a/qmake/compiler.pri +++ b/qmake/compiler.pri @@ -33,6 +33,10 @@ isEqual(QT_MAJOR_VERSION, 5) { win32-g++ { DEFINES *= MINGW_HAS_SECURE_API + # Enable SSE + QMAKE_CFLAGS *= -msse -msse2 + QMAKE_CXXFLAGS *= -msse -msse2 + CONFIG(symbols) { # Configure build to be able to properly debug release builds QMAKE_CFLAGS *= -g |