[Speex-dev] [PATCH] fix -elf2flt usage for bfin-uclinux
Jean-Marc Valin
jean-marc.valin at usherbrooke.ca
Wed Jun 3 19:14:24 PDT 2009
Hi,
Thanks for the patches. They're merged/pushed now.
Cheers,
Jean-Marc
Mike Frysinger a écrit :
> There are multiple problems with the elf2flt usage in the configure script:
> - clobbers LDFLAGS
> - is used for all targets so breaks non-FLAT targets
> - is only used for Blackfin FLAT targets
>
> Signed-off-by: Mike Frysinger <vapier at gentoo.org>
> ---
> configure.ac | 4 +++-
> 1 files changed, 3 insertions(+), 1 deletions(-)
>
> diff --git a/configure.ac b/configure.ac
> index cc30d99..3179521 100644
> --- a/configure.ac
> +++ b/configure.ac
> @@ -188,8 +188,10 @@ fi])
> AC_ARG_ENABLE(blackfin-asm, [ --enable-blackfin-asm Make use of Blackfin assembly optimizations],
> [if test "$enableval" = yes; then
> AC_DEFINE([BFIN_ASM], , [Make use of Blackfin assembly optimizations])
> - LDFLAGS="-Wl,-elf2flt=-s100000"
> fi])
> +case $host_os in
> + uclinux) LDFLAGS="-Wl,-elf2flt=-s100000 $LDFLAGS";;
> +esac
>
> AC_ARG_ENABLE(fixed-point-debug, [ --enable-fixed-point-debug Debug fixed-point implementation],
> [if test "$enableval" = yes; then
More information about the Speex-dev
mailing list