[alsa-devel] [PATCH] 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 manuel.lauss@gmail.com --- 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(-)
diff --git a/src/mixer/mixer_simple.h b/src/mixer/mixer_simple.h index e88b007..bc9d20c 100644 --- a/src/mixer/mixer_simple.h +++ b/src/mixer/mixer_simple.h @@ -19,6 +19,7 @@ * */
+#include <config.h> #include "mixer_abst.h"
/* make local functions really local */ -- 1.6.5.rc1
participants (1)
-
Manuel Lauss