Commit 5af530f5 authored by Mans Rullgard's avatar Mans Rullgard

parisc: work around bug in gcc 4.3 and later

A bug in tail call optimisation in gcc 4.3 and later on parisc causes
numerous tests to fail.  Disabling this optimisation gives a working
build.  See http://gcc.gnu.org/bugzilla/show_bug.cgi?id=55023Signed-off-by: 's avatarMans Rullgard <mans@mansr.com>
parent da5408ed
......@@ -3077,6 +3077,14 @@ elif enabled mips; then
check_inline_asm loongson '"dmult.g $1, $2, $3"'
elif enabled parisc; then
if enabled gcc; then
case $($cc -dumpversion) in
4.[3-8].*) check_cflags -fno-optimize-sibling-calls ;;
esac
fi
elif enabled ppc; then
enable local_aligned_8 local_aligned_16
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment