From 7028f93bfc2329e98de0e27ef2db0b0548713056 Mon Sep 17 00:00:00 2001 From: Monty Date: Wed, 24 Mar 2010 09:27:43 +0000 Subject: [PATCH] On powerpc-unknown-linux-gnuspe SPE is used for floating point. -mcpu=970 disables the usage of the SPU unit and enables the "normal" floating point unit. This results either in slow code (kernel floating point emulation) or in SIGILL. Closes #1614 svn path=/trunk/vorbis/; revision=17020 --- configure.ac | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/configure.ac b/configure.ac index 70ee762..de3ddf7 100644 --- a/configure.ac +++ b/configure.ac @@ -172,6 +172,10 @@ else CFLAGS=${OPT}" -D__NO_MATH_INLINES" PROFILE=${PROFILE}" -D__NO_MATH_INLINES" fi;; + powerpc-*-linux*spe) + DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES" + CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -D_REENTRANT" + PROFILE="-pg -g -O3 -ffast-math -mfused-madd -D_REENTRANT";; powerpc-*-linux*) DEBUG="-g -Wall -Wextra -D_REENTRANT -D__NO_MATH_INLINES" CFLAGS="-O3 -Wall -Wextra -ffast-math -mfused-madd -mcpu=750 -D_REENTRANT" -- 2.7.4