[oe] CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds

Khem Raj raj.khem at gmail.com
Thu Jul 1 06:52:53 UTC 2010


On Wed, Jun 30, 2010 at 1:47 AM, Koen Kooi <k.kooi at student.utwente.nl> wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
>
> Hi,
>
> When using an old compiler (e.g. the one ubuntu 8.04LTS ships with),
> zlib and ncurses fail to build because " -fforward-propagate" is not
> recognized as an option.
>

I wonder if there is a way to make OE aware of what gcc/binutils or
other cross tools versions it is being compiled with and then decide
on options based on that.
we could poke cross compiler on the fly
something like.

check_gcc=$(shell \
        if $(CC) $(1) -S -o /dev/null -xc /dev/null > /dev/null 2>&1;
\
        then echo "$(1)"; else echo "$(2)"; fi)
> This is due to:
>
> CFLAGS_append_arm = " -fforward-propagate "
>
> In the .inc files. My question: why does ncursus-sdk get that in cflags?!?!

its using BBLASSEXTEND now for sdk may be it uses TARGET_ARCH in overrides.

>
> regards,
>
> Koen
> -----BEGIN PGP SIGNATURE-----
> Version: GnuPG v1.4.5 (Darwin)
>
> iD8DBQFMKwS5MkyGM64RGpERAkrUAJ9/6f9Xwfq31TooCkrx39tuOO+twACfeLGb
> d7VMZZJgobUiZgNM1rfrLv8=
> =t8GK
> -----END PGP SIGNATURE-----
>
>
> _______________________________________________
> 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