From 5754a097abc2aed8b449aa40ee47a73eecbfe9cb Mon Sep 17 00:00:00 2001 From: Davide Beatrici Date: Thu, 23 Feb 2017 16:42:18 +0100 Subject: [PATCH] compiler.pri: Enable SSE and SSE2 for MinGW --- qmake/compiler.pri | 4 ++++ 1 file changed, 4 insertions(+) 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