[alsa-devel] [PATCH] Add -lm to test programs to fix build failure.

Jordi Mallach jordi at debian.org
Thu Jul 4 09:29:29 CEST 2013


Takashi, did you see the post below from last Friday?

Thanks,
Jordi

El dv 28 de 06 de 2013 a les 15:05 +0200, en/na Jordi Mallach va
escriure:
> Add -lm to test programs that use sin(), to fix a build failure with recent
> binutils.
> 
> Signed-off-by: Jordi Mallach <jordi at debian.org>
> ---
>  test/Makefile.am | 2 ++
>  1 file changed, 2 insertions(+)
> 
> diff --git a/test/Makefile.am b/test/Makefile.am
> index 8705402..c1896f8 100644
> --- a/test/Makefile.am
> +++ b/test/Makefile.am
> @@ -7,8 +7,10 @@ check_PROGRAMS=control pcm pcm_min latency seq \
>  
>  control_LDADD=../src/libasound.la
>  pcm_LDADD=../src/libasound.la
> +pcm_LDFLAGS= -lm
>  pcm_min_LDADD=../src/libasound.la
>  latency_LDADD=../src/libasound.la
> +latency_LDFLAGS= -lm
>  seq_LDADD=../src/libasound.la
>  playmidi1_LDADD=../src/libasound.la
>  timer_LDADD=../src/libasound.la

-- 
Jordi Mallach Pérez  --  Debian developer     http://www.debian.org/
jordi at sindominio.net     jordi at debian.org     http://www.sindominio.net/
GnuPG public key information available at http://oskuro.net/



More information about the Alsa-devel mailing list