projects
/
profile
/
ivi
/
qtbase.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
13074f2
)
add SSE2/AVX/Neon/etc. flags to mkspec win32-g++-cross
author
Mark Brand
<mabrand@mabrand.nl>
Tue, 12 Jun 2012 08:41:38 +0000
(10:41 +0200)
committer
Qt by Nokia
<qt-info@nokia.com>
Tue, 12 Jun 2012 18:06:39 +0000
(20:06 +0200)
Follow-up to
6a51062e996ec38b3ebc1e0de04af73a5c62a1a0
which did this
for win32-g++.
Change-Id: I3ba0dd8ffca46853844b55b16dc92270fa8a623a
Reviewed-by: Sean Harmer <sean.harmer@kdab.com>
Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
mkspecs/unsupported/win32-g++-cross/qmake.conf
patch
|
blob
|
history
diff --git
a/mkspecs/unsupported/win32-g++-cross/qmake.conf
b/mkspecs/unsupported/win32-g++-cross/qmake.conf
index
d7e0e2d
..
e057af2
100644
(file)
--- a/
mkspecs/unsupported/win32-g++-cross/qmake.conf
+++ b/
mkspecs/unsupported/win32-g++-cross/qmake.conf
@@
-26,6
+26,15
@@
QMAKE_CFLAGS_WARN_OFF = -w
QMAKE_CFLAGS_RELEASE = -O2
QMAKE_CFLAGS_DEBUG = -g
QMAKE_CFLAGS_YACC = -Wno-unused -Wno-parentheses
+QMAKE_CFLAGS_SSE2 = -msse2
+QMAKE_CFLAGS_SSE3 = -msse3
+QMAKE_CFLAGS_SSSE3 = -mssse3
+QMAKE_CFLAGS_SSE4_1 = -msse4.1
+QMAKE_CFLAGS_SSE4_2 = -msse4.2
+QMAKE_CFLAGS_AVX = -mavx
+QMAKE_CFLAGS_AVX2 = -mavx2
+QMAKE_CFLAGS_IWMMXT = -mcpu=iwmmxt
+QMAKE_CFLAGS_NEON = -mfpu=neon
QMAKE_CXX = i686-pc-mingw32-g++
QMAKE_CXXFLAGS = $$QMAKE_CFLAGS