aboutsummaryrefslogtreecommitdiffstats
path: root/community
diff options
context:
space:
mode:
authorJakub Jirutka <jakub@jirutka.cz>2021-11-17 01:15:25 +0100
committerJakub Jirutka <jakub@jirutka.cz>2021-11-17 01:36:03 +0100
commit9b90b62154636a3bff03e2f7c4d2cef861037e39 (patch)
tree755fa5c13c78c56c58f9d3382b9c2b000d8748a9 /community
parent26d6de5f69f4af66fd7ba6b4d8c5e08d7b3ff2a5 (diff)
downloadaports-9b90b62154636a3bff03e2f7c4d2cef861037e39.tar.gz
aports-9b90b62154636a3bff03e2f7c4d2cef861037e39.tar.bz2
aports-9b90b62154636a3bff03e2f7c4d2cef861037e39.tar.xz
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).
Diffstat (limited to 'community')
-rw-r--r--community/ffmpeg/APKBUILD6
1 files changed, 6 insertions, 0 deletions
diff --git a/community/ffmpeg/APKBUILD b/community/ffmpeg/APKBUILD
index 504072be81..8c79bee8c7 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=""