Fix build with precompile headers
Get the CXX compiler using $$QMAKE_CXX instead of ${QMAKE_VAR_QMAKE_CXX}
which causes shell syntax errors when combined with the silent flag.
Task-number: QTBUG-36159
Change-Id: I26cdbe788a20bd2df1aa3563694648e41c082a2c
Reviewed-by: Oswald Buddenhagen <oswald.buddenhagen@digia.com>
bb10
parent
882bf3475c
commit
396f631e15
|
|
@ -12,7 +12,7 @@
|
|||
#
|
||||
# Set up extra compiler for PCH disabled sources
|
||||
#
|
||||
no_pch_compiler.commands = ${QMAKE_VAR_QMAKE_CXX} -c $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN}
|
||||
no_pch_compiler.commands = $$QMAKE_CXX -c $(CXXFLAGS) $(INCPATH) ${QMAKE_FILE_IN}
|
||||
msvc: no_pch_compiler.commands += -Fo${QMAKE_FILE_OUT}
|
||||
else: no_pch_compiler.commands += -o ${QMAKE_FILE_OUT}
|
||||
no_pch_compiler.dependency_type = TYPE_C
|
||||
|
|
|
|||
Loading…
Reference in New Issue