[oe] [PATCH 14/16] zlib.inc: Add -fforward-propagate on arm.

Martin Jansa martin.jansa at gmail.com
Fri Jun 4 07:42:13 UTC 2010


On Wed, Jun 2, 2010 at 10:34 PM, Khem Raj <raj.khem at gmail.com> wrote:
> * Needed on -O1 compile. Generally we use -Os where
>  this option is already enabled. But we enable is anyway
>  so it gets picked at -O1 too which we use with DEBUG builds.
>
> Signed-off-by: Khem Raj <raj.khem at gmail.com>

Acked-by: Martin Jansa <Martin.Jansa at gmail.com>

> ---
>  recipes/zlib/zlib.inc |    8 +++++++-
>  1 files changed, 7 insertions(+), 1 deletions(-)
>
> diff --git a/recipes/zlib/zlib.inc b/recipes/zlib/zlib.inc
> index 0f7bea0..5b00ccf 100644
> --- a/recipes/zlib/zlib.inc
> +++ b/recipes/zlib/zlib.inc
> @@ -3,7 +3,13 @@ SECTION = "libs"
>  PRIORITY = "required"
>  HOMEPAGE = "http://www.gzip.org/zlib/"
>  LICENSE = "zlib"
> -INC_PR ="r6"
> +INC_PR ="r7"
> +
> +# Below option is added to overcome the GCC bug on ARM
> +# see http://gcc.gnu.org/PR42981 for further details.
> +# We could potentially take it off when its fixed in gcc 4.5
> +
> +CFLAGS_append_arm = " -fforward-propagate "
>
>  BBCLASSEXTEND = "native sdk"
>
> --
> 1.7.0.4
>
>
> _______________________________________________
> Openembedded-devel mailing list
> Openembedded-devel at lists.openembedded.org
> http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel
>




More information about the Openembedded-devel mailing list