All of lore.kernel.org
 help / color / mirror / Atom feed
From: Manuel Lauss <manuel.lauss@googlemail.com>
To: alsa-devel@alsa-project.org
Subject: [PATCH] alsa-lib: mixer/simple_none: fix softfloat compilation
Date: Tue, 15 Sep 2009 10:37:41 +0200	[thread overview]
Message-ID: <4AAF5255.3050004@gmail.com> (raw)

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

                 reply	other threads:[~2009-09-15  8:37 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4AAF5255.3050004@gmail.com \
    --to=manuel.lauss@googlemail.com \
    --cc=alsa-devel@alsa-project.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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.