Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5
PATCH 1/1 Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5
Signed-off-by Jaap Crezee <[email protected]>
Tested-by Yegor Yefremov <[email protected]>
--- package/qt5/qt5base/0008-ccache_buildroot_fix.patch | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 package/qt5/qt5base/0008-ccache_buildroot_fix.patch
package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file +16 -0
@@ -0,0 +1,16 @@ +Author: Jaap Crezee <[email protected]> +--- +diff --git a/mkspecs/features/device_config.prf b/mkspecs/features/device_config.prf +index cd3a0cf..674b3dd 100644 +--- a/mkspecs/features/device_config.prf ++++ b/mkspecs/features/device_config.prf +@@ -35,6 +35,9 @@ defineTest(deviceSanityCheckCompiler) { + return() + } + ++ # Last resort, check if we can still execute it (for example in Buildroot/Crosscompile...) ++ system("which $$QMAKE_CXX > /dev/null"):return() ++ + # QMAKE_CXX does not point to a compiler. + error("Compiler $$QMAKE_CXX not found. Check the value of CROSS_COMPILE -device-option") + }
Signature · 1 line
2.4.6
PATCH 1/1 Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5
Dear Jaap Crezee,
Quoted 2 lines · Jaap Crezee
Signed-off-by Jaap Crezee <[email protected]>Tested-by Yegor Yefremov <[email protected]>
An empty commit log is not acceptable. Also the commit title is too long, and should follow the form:
qt5base: <description>
package/qt5/qt5base/0008-ccache_buildroot_fix.patch line 1
Quoted 7 lines
package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file +1
-0@@ -0,0 +1,16 @@ +Author: Jaap Crezee <[email protected]>
All patches should have a description + Signed-off-by (and not Author:). See the Buildroot manual.
Also, did you file a bug in Qt's bug tracker for this issue?
Thanks,
Thomas
Signature · 3 lines
Thomas Petazzoni, CTO, Free Electrons Embedded Linux, Kernel and Android engineering http://free-electrons.com