diff options
author | Mans Rullgard <mans@mansr.com> | 2012-11-14 15:56:46 +0000 |
---|---|---|
committer | Mans Rullgard <mans@mansr.com> | 2012-11-17 17:54:28 +0000 |
commit | 5af530f5a95e6e1a8c82dd86bf625aea75fce670 (patch) | |
tree | 462d2d8c94534ee9b3b20edb9dde5fd22a5e5775 /configure | |
parent | da5408ede972ab474f7df9023471a7bcd7092abb (diff) | |
download | ffmpeg-5af530f5a95e6e1a8c82dd86bf625aea75fce670.tar.gz |
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=55023
Signed-off-by: Mans Rullgard <mans@mansr.com>
Diffstat (limited to 'configure')
-rwxr-xr-x | configure | 8 |
1 files changed, 8 insertions, 0 deletions
@@ -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 |