* [PATCH] alsa-lib: mixer/simple_none: fix softfloat compilation
@ 2009-09-15 8:37 Manuel Lauss
0 siblings, 0 replies; only message in thread
From: Manuel Lauss @ 2009-09-15 8:37 UTC (permalink / raw)
To: alsa-devel
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
^ permalink raw reply related [flat|nested] only message in thread
only message in thread, other threads:[~2009-09-15 8:37 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2009-09-15 8:37 [PATCH] alsa-lib: mixer/simple_none: fix softfloat compilation Manuel Lauss
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox