From 9b90b62154636a3bff03e2f7c4d2cef861037e39 Mon Sep 17 00:00:00 2001 From: Jakub Jirutka Date: Wed, 17 Nov 2021 01:15:25 +0100 Subject: community/ffmpeg: ensure that it's not compiled with -Os This actually doesn't change the result because -Os has been ignored all this time (fortunately). --- community/ffmpeg/APKBUILD | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'community') diff --git a/community/ffmpeg/APKBUILD b/community/ffmpeg/APKBUILD index 504072be81a..8c79bee8c72 100644 --- a/community/ffmpeg/APKBUILD +++ b/community/ffmpeg/APKBUILD @@ -135,6 +135,12 @@ source="https://ffmpeg.org/releases/ffmpeg-$pkgver.tar.xz # - CVE-2017-14223 # - CVE-2017-14225 +# This is a huge library of audio/video codecs; performance matters, +# compiling it with -Os doesn't make sense. +export CFLAGS=${CFLAGS/-Os/} +export CPPFLAGS=${CPPFLAGS/-Os/} +export CXXFLAGS=${CXXFLAGS/-Os/} + build() { local _dbg="--disable-debug" local _asm="" -- cgit v1.2.3