summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorRafael Roquetto <rafael.roquetto.qnx@kdab.com>2012-10-04 10:32:49 -0300
committerThe Qt Project <gerrit-noreply@qt-project.org>2012-10-13 21:22:52 +0200
commit7a6cee83e15ab8e0b84603d100cafda7a592b126 (patch)
tree7ce152a9812fb9245f7797f111e0c6df581a54b6 /src
parent07c17542bae95cce66c68fed773b2cb13c0fdc92 (diff)
Pass NEON_ASM directly to SOURCES.
This guarantees that qmake gives them the proper flags (non C++) while building these asm files. cherry-picked from qt5/qtbase 1ef74a763a726829bfc26224d82acff207fdc8bb Change-Id: Iec8dbb2d25700ead99d46b054665b817bbe79b7b Reviewed-by: Thiago Macieira <thiago.macieira@intel.com> Reviewed-by: Thomas McGuire <thomas.mcguire@kdab.com>
Diffstat (limited to 'src')
-rw-r--r--src/gui/gui.pro5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/gui/gui.pro b/src/gui/gui.pro
index 8f72fead8d..c31e889f1e 100644
--- a/src/gui/gui.pro
+++ b/src/gui/gui.pro
@@ -63,14 +63,13 @@ symbian {
neon:*-g++* {
DEFINES += QT_HAVE_NEON
HEADERS += $$NEON_HEADERS
-
- DRAWHELPER_NEON_ASM_FILES = $$NEON_ASM
+ SOURCES += $$NEON_ASM
neon_compiler.commands = $$QMAKE_CXX -c
neon_compiler.commands += $(CXXFLAGS) -mfpu=neon $(INCPATH) ${QMAKE_FILE_IN} -o ${QMAKE_FILE_OUT}
neon_compiler.dependency_type = TYPE_C
neon_compiler.output = ${QMAKE_VAR_OBJECTS_DIR}${QMAKE_FILE_BASE}$${first(QMAKE_EXT_OBJ)}
- neon_compiler.input = DRAWHELPER_NEON_ASM_FILES NEON_SOURCES
+ neon_compiler.input = NEON_SOURCES
neon_compiler.variable_out = OBJECTS
neon_compiler.name = compiling[neon] ${QMAKE_FILE_IN}
silent:neon_compiler.commands = @echo compiling[neon] ${QMAKE_FILE_IN} && $$neon_compiler.commands