summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlexis Ballier <aballier@gentoo.org>2018-11-27 12:54:32 +0100
committerAlexis Ballier <aballier@gentoo.org>2018-11-27 12:54:42 +0100
commit6a2691a2bb66bd0497e458b0a00414507e8e99c0 (patch)
treeb2de872cf11ca75a2de9f7b9e9c9be99e8f5293c /media-video/ffmpeg
parentdev-python/dominate: bump to 2.3.5 (diff)
downloadgentoo-6a2691a2bb66bd0497e458b0a00414507e8e99c0.tar.gz
gentoo-6a2691a2bb66bd0497e458b0a00414507e8e99c0.tar.bz2
gentoo-6a2691a2bb66bd0497e458b0a00414507e8e99c0.zip
media-video/ffmpeg: Pass disable optimization to configure.
This is only useful for hardcoded CFLAGS. We use optflags that override them anyway. However, some configure checks run with fomit-frame-pointer when this is enabled. This lures the build system it has enough registers to build some inline asm on x86 and then causes build failures. Closes: https://bugs.gentoo.org/671746 Closes: https://bugs.gentoo.org/645778 Package-Manager: Portage-2.3.51, Repoman-2.3.12 RepoMan-Options: --force Signed-off-by: Alexis Ballier <aballier@gentoo.org>
Diffstat (limited to 'media-video/ffmpeg')
-rw-r--r--media-video/ffmpeg/ffmpeg-4.1.ebuild4
-rw-r--r--media-video/ffmpeg/ffmpeg-9999.ebuild4
2 files changed, 8 insertions, 0 deletions
diff --git a/media-video/ffmpeg/ffmpeg-4.1.ebuild b/media-video/ffmpeg/ffmpeg-4.1.ebuild
index 951667d5553c..4b16f79189e4 100644
--- a/media-video/ffmpeg/ffmpeg-4.1.ebuild
+++ b/media-video/ffmpeg/ffmpeg-4.1.ebuild
@@ -405,6 +405,10 @@ multilib_src_configure() {
--enable-avfilter
--enable-avresample
--disable-stripping
+ # This is only for hardcoded cflags; those are used in configure checks that may
+ # interfere with proper detections, bug #671746 and bug #645778
+ # We use optflags, so that overrides them anyway.
+ --disable-optimizations
--disable-libcelt # bug #664158
"${myconf[@]}"
)
diff --git a/media-video/ffmpeg/ffmpeg-9999.ebuild b/media-video/ffmpeg/ffmpeg-9999.ebuild
index ca3506a2918a..869c06071cf3 100644
--- a/media-video/ffmpeg/ffmpeg-9999.ebuild
+++ b/media-video/ffmpeg/ffmpeg-9999.ebuild
@@ -404,6 +404,10 @@ multilib_src_configure() {
--enable-avfilter
--enable-avresample
--disable-stripping
+ # This is only for hardcoded cflags; those are used in configure checks that may
+ # interfere with proper detections, bug #671746 and bug #645778
+ # We use optflags, so that overrides them anyway.
+ --disable-optimizations
--disable-libcelt # bug #664158
"${myconf[@]}"
)