All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors
@ 2015-01-21 16:29 Franklin S. Cooper Jr
  2015-01-21 18:50 ` Denys Dmytriyenko
  0 siblings, 1 reply; 3+ messages in thread
From: Franklin S. Cooper Jr @ 2015-01-21 16:29 UTC (permalink / raw)
  To: meta-arago; +Cc: Franklin S. Cooper Jr

From: "Franklin S. Cooper Jr" <fcooper@ti.com>

* Nativesdk-qt4-tools has been failing with many errors similar to the ones
  below :

  <long path>/stdc-predef.h:59:1: error: use -Winvalid-pch for more information
  <long path>/stdc-predef.h:59:1: fatal error:
                .pch/release-static-emb-auto/QtCore: No such file or directory

* Based on http://qt-project.org/forums/viewthread/26781 and looking at the
  main Qt 4 recipe this error can be fixed by disabling pch by passing -no-pch
  to configure.

Signed-off-by: Franklin S. Cooper Jr <fcooper@ti.com>
---
 .../qt4/nativesdk-qt4-tools_4.8.5.bbappend         |    4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
index 6296fbe..8391cdd 100644
--- a/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
+++ b/meta-arago-distro/recipes-qt/qt4/nativesdk-qt4-tools_4.8.5.bbappend
@@ -1,7 +1,9 @@
-PR_append = "-arago2"
+PR_append = "-arago3"
 
 # Qt/E from Nokia is dual-licensed (LGPLv2.1 or GPLv3)
 # For our distribution purposes we only use LGPLv2.1
 LICENSE = "LGPLv2.1"
 
 DEPENDS := "${@oe_filter_out('nativesdk-libx11', '${DEPENDS}', d)}"
+
+EXTRA_OECONF += " -no-pch"
-- 
1.7.9.5



^ permalink raw reply related	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2015-01-21 19:03 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-01-21 16:29 [PATCH] nativesdk-qt4-tools: Add -no-pch to configure to fix build errors Franklin S. Cooper Jr
2015-01-21 18:50 ` Denys Dmytriyenko
2015-01-21 19:03   ` Cooper Jr., Franklin

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.