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
> [email protected]
> http://lists.openembedded.org/mailman/listinfo/openembedded-devel

-- 
Martin 'JaMa' Jansa     jabber: [email protected]

Attachment: signature.asc
Description: Digital signature

-- 
_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.openembedded.org/mailman/listinfo/openembedded-devel

Reply via email to