CFLAGS_append_arm = " -fforward-propagate " breaks sdk builds
-----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.
This is due to:
CFLAGS_append_arm = " -fforward-propagate "
In the .inc files. My question: why does ncursus-sdk get that in cflags?!?!
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)
iD8DBQFMKwS5MkyGM64RGpERAkrUAJ9/6f9Xwfq31TooCkrx39tuOO+twACfeLGb d7VMZZJgobUiZgNM1rfrLv8=
=t8GK
-----END PGP SIGNATURE-----
Quoted 9 lines · Koen Kooi
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1Hi,
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)Quoted 5 lines
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.
Quoted 18 lines
regards,
Koen
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.5 (Darwin)iD8DBQFMKwS5MkyGM64RGpERAkrUAJ9/6f9Xwfq31TooCkrx39tuOO+twACfeLGb d7VMZZJgobUiZgNM1rfrLv8=
=t8GK
-----END PGP SIGNATURE-----_______________________________________________
Openembedded-devel mailing list
[email protected]
http://lists.linuxtogo.org/cgi-bin/mailman/listinfo/openembedded-devel