Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/mumble-voip/speex.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2009-06-04 01:22:44 +0400
committerJean-Marc Valin <jean-marc.valin@usherbrooke.ca>2009-06-04 06:12:44 +0400
commite760e470625ef9412eacd7cb71537fbffdee815b (patch)
tree725c27a0e06de9f4b4d2009bc45b3dfbcabb8c9a
parent7966cca5082b9416f1bfd8c4a9ba58155cf9edbd (diff)
fix -elf2flt usage for bfin-uclinux
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@gentoo.org>
-rw-r--r--configure.ac4
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