aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Zander <riggs@FreeBSD.org>2021-08-29 14:00:36 +0000
committerThomas Zander <riggs@FreeBSD.org>2021-08-29 14:06:31 +0000
commitce777b825e3c72834daf274b53bfde010f24e460 (patch)
tree4928100f86f9cc99e62d814f92e2c08acc5cb821
parent5a95ee6514c22475b719231d96b142d4acd98553 (diff)
downloadports-ce777b825e3c72834daf274b53bfde010f24e460.tar.gz
ports-ce777b825e3c72834daf274b53bfde010f24e460.zip
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 0561f3e6355206d3ff81b2d9a69f62e10fc7f16e)
-rw-r--r--multimedia/ffmpeg/Makefile3
1 files changed, 3 insertions, 0 deletions
diff --git a/multimedia/ffmpeg/Makefile b/multimedia/ffmpeg/Makefile
index 38316cf5dbdc..2ebfe5e204bc 100644
--- a/multimedia/ffmpeg/Makefile
+++ b/multimedia/ffmpeg/Makefile
@@ -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