work around regression building for armhf with clang (compiler bug)
authorRich Felker <dalias@aerifal.cx>
Fri, 19 Feb 2016 01:20:07 +0000 (01:20 +0000)
committerRich Felker <dalias@aerifal.cx>
Fri, 19 Feb 2016 01:20:07 +0000 (01:20 +0000)
commit71c334f951d9ffa4d8bdc71bdd49628e5ae4512b
treeae0fd157e6551124df126e73a4be47330479e8f0
parented97dfd979c054b8c598875410529077dad84c02
work around regression building for armhf with clang (compiler bug)

commit e4355bd6bec89688e8c739cd7b4c76e675643dca moved the math asm
from external source files to inline asm, but unfortunately, all
current releases of clang use the wrong inline asm constraint codes
for float and double ("w" and "P" instead of "t" and "w",
respectively). this patch adds detection for the bug in configure,
and, for now, just disables the affected asm on broken clang versions.
configure
src/math/arm/fabsf.c
src/math/arm/sqrtf.c