On Thursday, September 15, 2011 07:26:16 PM Denis Carikli wrote:

> without the -no-neon flag, neon is "autodetected"

> by looking if the compiler is capable of compiling

> a neon test, and succeed, and neon is then enabled

> during the compilation.

>

> Signed-off-by: Denis Carikli <denis@eukrea.com>



> QT_CONFIG_FLAGS_append_armv6 = " -no-neon "

> +QT_CONFIG_FLAGS_append_armv6-vfp = " -no-neon "


I also ran into this problem, with the same fix.



There are a couple of other places with armv6 overrides that could misbehave, notably:

TARGET_CC_ARCH_append_armv6 = " -D__SOFTFP__"

(python_2.6.6.bb)

QEMU_OPTIONS_armv6 = "-cpu arm1136"

(bitbake.conf)


Is there a way to do this more generically?, something like:

QT_CONFIG_FLAGS_append_armv6* = " ... "


Cheers

Marc