QNX: Enable additional CPU features to be compiled in for QNX
The QNX toolchain can use Neon on ARM and SSE<X> on x86/x86_64. Change-Id: I36c61fa12b65d806b3cc60a0aefcb63964f9ab7e Reviewed-by: Thiago Macieira <thiago.macieira@intel.com>
This commit is contained in:
parent
7020c2fe2a
commit
5eae12ff72
@ -20,6 +20,15 @@ QMAKE_CFLAGS_STATIC_LIB += -fPIC
|
||||
QMAKE_CFLAGS_APP += -fPIE
|
||||
QMAKE_CFLAGS_YACC += -Wno-unused -Wno-parentheses
|
||||
QMAKE_CFLAGS_HIDESYMS += -fvisibility=hidden
|
||||
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_CXXFLAGS += $$QMAKE_CFLAGS
|
||||
QMAKE_CXXFLAGS_DEPS += $$QMAKE_CFLAGS_DEPS
|
||||
|
@ -42,7 +42,7 @@ win32:!contains(QT_CONFIG, directwrite) {
|
||||
DEFINES += QT_NO_DIRECTWRITE
|
||||
}
|
||||
|
||||
*-g++*|linux-icc*|*-clang {
|
||||
*-g++*|linux-icc*|*-clang|*-qcc* {
|
||||
sse2 {
|
||||
sse2_compiler.commands = $$QMAKE_CXX -c $(CXXFLAGS)
|
||||
sse2_compiler.commands += $$QMAKE_CFLAGS_SSE2
|
||||
|
Loading…
Reference in New Issue
Block a user