All of lore.kernel.org
 help / color / mirror / Atom feed
* [meta-qt5]remove -reduce-relocations on arm platform
@ 2014-04-25  6:16 Neuer User
  2014-04-25 12:35 ` Martin Jansa
                   ` (2 more replies)
  0 siblings, 3 replies; 7+ messages in thread
From: Neuer User @ 2014-04-25  6:16 UTC (permalink / raw)
  To: openembedded-devel

On arm platform the compiler does not implement "-reduce-relocations",
see here: https://bugreports.qt-project.org/browse/QTBUG-36129

The meta-qt5 layer, however, uses this option, so configure will fail
for qtbase.

This patch fixes the problem for me, but it should better test on the
platform and only apply it, when it is an arm platform:

diff --git a/recipes-qt/qt5/qtbase.inc b/recipes-qt/qt5/qtbase.inc
index 89736be..f23236a 100644
--- a/recipes-qt/qt5/qtbase.inc
+++ b/recipes-qt/qt5/qtbase.inc
@@ -126,7 +126,6 @@ PACKAGECONFIG[nis] = "-nis,-no-nis"
 PACKAGECONFIG[widgets] = "-widgets,-no-widgets"

 QT_CONFIG_FLAGS += " \
-    -reduce-relocations \
     -shared \
     -silent \
     -no-pch \





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

end of thread, other threads:[~2014-04-26 19:58 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-04-25  6:16 [meta-qt5]remove -reduce-relocations on arm platform Neuer User
2014-04-25 12:35 ` Martin Jansa
2014-04-25 13:02 ` Jacob Kroon
2014-04-25 13:45   ` Martin Jansa
2014-04-26 19:44   ` Khem Raj
2014-04-26 19:58     ` Jacob Kroon
2014-04-26 19:44 ` Khem Raj

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.