2014-04-05 Magnus Granberg # 471755 506206 * ffmpeg-1.2.6.ebuild: Disable -fstack-check for we need all the register that the cpu have on x86 in the asm code. --- a/ffmpeg-1.2.6.ebuild 2014-03-06 20:11:25.000000000 +0100 +++ b/ffmpeg-1.2.6.ebuild 2014-04-05 16:07:35.950074835 +0200 @@ -141,6 +141,12 @@ src_configure() { local myconf="${EXTRA_FFMPEG_CONF}" + # we need to disable -fstack-check if use >=gcc 4.8.0 on x86 and + # hardened compiler #471755 #506206 + if use x86 && gcc-specs-ssp-to-all ; then + append-flags $(test-flags -fstack-check=no) + fi + # options to use as use_enable in the foo[:bar] form. # This will feed configure with $(use_enable foo bar) # or $(use_enable foo foo) if no :bar is set.