From patchwork Sun Jul 26 10:49:38 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jaap Crezee X-Patchwork-Id: 500043 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from fraxinus.osuosl.org (smtp4.osuosl.org [140.211.166.137]) by ozlabs.org (Postfix) with ESMTP id 1783F14030F for ; Sun, 26 Jul 2015 20:49:49 +1000 (AEST) Received: from localhost (localhost [127.0.0.1]) by fraxinus.osuosl.org (Postfix) with ESMTP id 4A019A22C4; Sun, 26 Jul 2015 10:49:48 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from fraxinus.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id COisScg1lSkL; Sun, 26 Jul 2015 10:49:46 +0000 (UTC) Received: from ash.osuosl.org (ash.osuosl.org [140.211.166.34]) by fraxinus.osuosl.org (Postfix) with ESMTP id 07AE6A1AB1; Sun, 26 Jul 2015 10:49:46 +0000 (UTC) X-Original-To: buildroot@lists.busybox.net Delivered-To: buildroot@osuosl.org Received: from whitealder.osuosl.org (smtp1.osuosl.org [140.211.166.138]) by ash.osuosl.org (Postfix) with ESMTP id DAFC91C0DEE for ; Sun, 26 Jul 2015 10:49:44 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by whitealder.osuosl.org (Postfix) with ESMTP id D5DE78D3FF for ; Sun, 26 Jul 2015 10:49:44 +0000 (UTC) X-Virus-Scanned: amavisd-new at osuosl.org Received: from whitealder.osuosl.org ([127.0.0.1]) by localhost (.osuosl.org [127.0.0.1]) (amavisd-new, port 10024) with ESMTP id KHsR-h5mZMSl for ; Sun, 26 Jul 2015 10:49:43 +0000 (UTC) X-Greylist: from auto-whitelisted by SQLgrey-1.7.6 Received: from jcz.nl (jcz.nl [94.126.37.106]) by whitealder.osuosl.org (Postfix) with ESMTPS id 4C4D28AB7C for ; Sun, 26 Jul 2015 10:49:42 +0000 (UTC) Received: (qmail 22120 invoked by uid 210); 26 Jul 2015 10:49:40 -0000 Received: from 37.153.194.28 by www.jcz.nl (envelope-from , uid 201) with qmail-scanner-1.25st (clamdscan: 0.95.3/10458. spamassassin: 3.2.1. perlscan: 1.25st. Clear:RC:1(37.153.194.28):. Processed in 0.029225 secs); 26 Jul 2015 10:49:40 -0000 Received: from hoevelaken.jcz.nl (HELO jaap.localdomain) (jaap@jcz.nl@37.153.194.28) by jcz.nl with ESMTPA; 26 Jul 2015 10:49:40 -0000 From: Jaap Crezee To: buildroot@busybox.net Date: Sun, 26 Jul 2015 12:49:38 +0200 Message-Id: <1437907778-3734-1-git-send-email-jaap@jcz.nl> X-Mailer: git-send-email 2.4.6 Subject: [Buildroot] [PATCH 1/1] Added extra patch to qt5base package for fixing ccache related compile error with new QT 5.5 X-BeenThere: buildroot@busybox.net X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: Discussion and development of buildroot List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Errors-To: buildroot-bounces@busybox.net Sender: "buildroot" Signed-off-by: Jaap Crezee Tested-by: Yegor Yefremov --- 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 diff --git a/package/qt5/qt5base/0008-ccache_buildroot_fix.patch b/package/qt5/qt5base/0008-ccache_buildroot_fix.patch new file mode 100644 index 0000000..62aa57b --- /dev/null +++ b/package/qt5/qt5base/0008-ccache_buildroot_fix.patch @@ -0,0 +1,16 @@ +Author: Jaap Crezee +--- +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") + }