[oe] [meta-qt5]remove -reduce-relocations on arm platform

Martin Jansa martin.jansa at gmail.com
Fri Apr 25 12:35:58 UTC 2014


On Fri, Apr 25, 2014 at 08:16:09AM +0200, Neuer User wrote:
> 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:

This doesn't remove it only for arm and it's also missing SOB line.
> 
> 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 \
> 
> 
> 
> -- 
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: Martin.Jansa at gmail.com
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 198 bytes
Desc: Digital signature
URL: <http://lists.openembedded.org/pipermail/openembedded-devel/attachments/20140425/5e0a9cde/attachment-0002.sig>


More information about the Openembedded-devel mailing list