multimedia/ffmpeg: Exclude LTO from OPTIONS on i386.

Details:
- The low number of i386 leads to register exhaustion when compiling
  with LTO. Due to the decreasing popularity of 32 bit i386 machines
  which require hyper-optimised ffmpeg builds, the option is excluded
  from the builds for now.

PR:		257124
MFH:		2021Q3
(cherry picked from commit 0561f3e635)
This commit is contained in:
Thomas Zander 2021-08-29 16:00:36 +02:00
parent 5a95ee6514
commit ce777b825e
No known key found for this signature in database
GPG Key ID: 856D8ED47C7EAFA5

View File

@ -50,6 +50,9 @@ OPTIONS_DEFAULT= AOM ASM ASS DAV1D DRM FONTCONFIG FREETYPE FREI0R GMP \
GNUTLS ICONV LAME LIBXML2 OPTIMIZED_CFLAGS OPUS RTCPU \
THEORA V4L VAAPI VDPAU VORBIS VPX X264 X265 XCB XVID
# i386 is too register-starved for LTO (PR257124)
OPTIONS_EXCLUDE_i386= LTO
.if !exists(${.CURDIR:H:H}/multimedia/aribb24)
# https://git.ffmpeg.org/gitweb/ffmpeg.git/commitdiff/100bfac6d6ec
OPTIONS_EXCLUDE+= ARIBB24