From cf27104939c56fdbc64b83920fdabb7855f3c622 Mon Sep 17 00:00:00 2001 From: Levon Gevorgyan Date: Fri, 19 Dec 2025 15:27:28 -0600 Subject: [PATCH] small mistake on LTO_FLAG --- lib/build.sh | 2 ++ 1 file changed, 2 insertions(+) diff --git a/lib/build.sh b/lib/build.sh index fd0a424..b555bf7 100644 --- a/lib/build.sh +++ b/lib/build.sh @@ -1011,7 +1011,9 @@ build_ffmpeg() { LTO=OFF for flag in "${FFMPEG_EXTRA_FLAGS[@]}"; do if line_contains "${flag}" "${LTO_FLAG}"; then + # get rid of potential space on either side flag="${flag//${LTO_FLAG} /}" + flag="${flag// ${LTO_FLAG}/}" fi ffmpegFlags+=("${flag}") done