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>
--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[@]}"
)
--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[@]}"
)