summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSam James <sam@gentoo.org>2022-01-31 02:55:34 +0000
committerSam James <sam@gentoo.org>2022-01-31 02:55:34 +0000
commitd8c782eac7b40793a8629c911345b54bfe1a7784 (patch)
tree4325834539584d82e776e5164f187fac3131514d /media-libs
parentapp-backup/snapper: keyword ~arm64 (diff)
downloadgentoo-d8c782eac7b40793a8629c911345b54bfe1a7784.tar.gz
gentoo-d8c782eac7b40793a8629c911345b54bfe1a7784.tar.bz2
gentoo-d8c782eac7b40793a8629c911345b54bfe1a7784.zip
media-libs/codec2: replace -Os with -O2
Fails to build with -Os and given previous issues we've had, seems like this is the better option as a workaround for now. Closes: https://bugs.gentoo.org/817437 Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'media-libs')
-rw-r--r--media-libs/codec2/codec2-1.0.3.ebuild5
1 files changed, 4 insertions, 1 deletions
diff --git a/media-libs/codec2/codec2-1.0.3.ebuild b/media-libs/codec2/codec2-1.0.3.ebuild
index 81ec485ac36b..3f50389d58e9 100644
--- a/media-libs/codec2/codec2-1.0.3.ebuild
+++ b/media-libs/codec2/codec2-1.0.3.ebuild
@@ -4,7 +4,7 @@
EAPI=8
CMAKE_ECLASS=cmake
-inherit cmake-multilib
+inherit cmake-multilib flag-o-matic
MY_PV="${PV%.*}${PV##*.}"
DESCRIPTION="Low bit rate speech codec"
@@ -25,6 +25,9 @@ RESTRICT="test"
#BDEPEND="test? ( sci-mathematics/octave )"
multilib_src_configure() {
+ # bug #817437
+ replace-flags -Os -O2
+
local mycmakeargs=(
-DUNITTEST=$(usex test)
-DINSTALL_EXAMPLES=$(usex examples)