alsa-lib: mixer/simple_none: fix softfloat compilation
PATCH 1/1 alsa-lib: mixer/simple_none: fix softfloat compilation
mixer/simple_none.c uses HAVE_SOFT_FLOAT tests to work around sqrt() uses but the definition in config.h is never picked up, leading to link errors in libasound.so when built with --with-softfloat.
Signed-off-by Manuel Lauss <[email protected]>
---
Tested on MIPS. The pcm_ladspa plugin still calls 'sqrt()' and
should be excluded from the build if --with-softfloat is specified.
src/mixer/mixer_simple.h | 1 + 1 files changed, 1 insertions(+), 0 deletions(-)
src/mixer/mixer_simple.h +1 -0
@@ -19,6 +19,7 @@* */ +#include <config.h> #include "mixer_abst.h" /* make local functions really local */
--
1.6.5.rc1