* [PATCH] Always link to libm
@ 2011-05-12 12:39 Alexander Stein
2011-05-12 14:34 ` Clemens Ladisch
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Stein @ 2011-05-12 12:39 UTC (permalink / raw)
To: alsa-devel; +Cc: Alexander Stein
From: Alexander Stein <alexander.stein@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@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
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] Always link to libm
2011-05-12 12:39 [PATCH] Always link to libm Alexander Stein
@ 2011-05-12 14:34 ` Clemens Ladisch
0 siblings, 0 replies; 2+ messages in thread
From: Clemens Ladisch @ 2011-05-12 14:34 UTC (permalink / raw)
To: Alexander Stein, Jaroslav Kysela; +Cc: alsa-devel
Alexander Stein wrote:
> Starting with commit 9b6df1cf64ea7ccb329b4922d138c1f36ace00c0
> control: add ASCII parsers from amixer
> ctlparse.c uses ceil() and so libm is need unrelated to soft- or hardfloat.
The softfloat option is intended to avoid floating-point code.
The root cause of this problem is that ctlparse.c uses floatin-point
calculations unconditionally; it should be rewritten to use integer
math, or to drop the float parsing if compiled with softfloat.
Regards,
Clemens
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2011-05-12 14:32 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-05-12 12:39 [PATCH] Always link to libm Alexander Stein
2011-05-12 14:34 ` Clemens Ladisch
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.