[PATCH] alsa-lib: mixer/simple_none: fix softfloat compilation

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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@xxxxxxxxx>
---
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

_______________________________________________
Alsa-devel mailing list
Alsa-devel@xxxxxxxxxxxxxxxx
http://mailman.alsa-project.org/mailman/listinfo/alsa-devel

[Index of Archives]     [ALSA User]     [Linux Audio Users]     [Kernel Archive]     [Asterisk PBX]     [Photo Sharing]     [Linux Sound]     [Video 4 Linux]     [Gimp]     [Yosemite News]

  Powered by Linux