ffmpeg: fix bfin build
authorWaldemar Brodkorb <wbx@openadk.org>
Sun, 21 Aug 2016 22:14:22 +0000 (00:14 +0200)
committerThomas Petazzoni <thomas.petazzoni@free-electrons.com>
Mon, 22 Aug 2016 15:20:18 +0000 (17:20 +0200)
commit750233df5055b4c0af70a82265e9da0224fd0011
tree2dccb7e8cc257d9619726f6ad74989db2e043624
parent1adaf87c1c4e0531694a3a6f690d0644f729bf8d
ffmpeg: fix bfin build

A gcc bug is triggered when Os/O2/O3 is used to compile the function.
Just force O1 for the problematic function for Blackfin.
See gcc bug report:
https://gcc.gnu.org/bugzilla/show_bug.cgi?id=77311

Fixes:
  http://autobuild.buildroot.net/results/1118d568959006b7f973761884fd3f4b63be19b1/

Signed-off-by: Waldemar Brodkorb <wbx@openadk.org>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
package/ffmpeg/0013-bfin-disable-optimization.patch [new file with mode: 0644]