[alsa-devel] [PATCH] Always link to libm

Alexander Stein a.stein at systec-electronic.com
Thu May 12 14:39:53 CEST 2011


From: Alexander Stein <alexander.stein at systec-electronic.com>

Starting with commit 9b6df1cf64ea7ccb329b4922d138c1f36ace00c0
  control: add ASCII parsers from amixer
ctlparse.c uses ceil() and so libm is need unrelated to soft- or hardfloat.

Signed-off-by: Alexander Stein <alexander.stein at systec-electronic.com>
---
 configure.in |    5 +----
 1 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/configure.in b/configure.in
index 7ee0ccc..687e5eb 100644
--- a/configure.in
+++ b/configure.in
@@ -228,10 +228,7 @@ else
   AC_MSG_RESULT(no)
 fi
 
-ALSA_DEPLIBS=""
-if test "$softfloat" != "yes"; then
-  ALSA_DEPLIBS="-lm"
-fi
+ALSA_DEPLIBS="-lm"
 
 dnl Check for libdl
 AC_MSG_CHECKING(for libdl)
-- 
1.7.3.4



More information about the Alsa-devel mailing list