commit: 6613d2a62615472b707aa33c9ff8160084313add Author: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> AuthorDate: Thu Mar 25 21:47:52 2021 +0000 Commit: Georgy Yakovlev <gyakovlev <AT> gentoo <DOT> org> CommitDate: Thu Mar 25 21:48:08 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6613d2a6
media-libs/tg_owt: fix SSE2 build of latest snapshot Package-Manager: Portage-3.0.17, Repoman-3.0.2 Signed-off-by: Georgy Yakovlev <gyakovlev <AT> gentoo.org> media-libs/tg_owt/tg_owt-0_pre20210309.ebuild | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild index 6401fb3d793..0aa7644fe08 100644 --- a/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild +++ b/media-libs/tg_owt/tg_owt-0_pre20210309.ebuild @@ -64,9 +64,9 @@ src_prepare() { # See https://bugs.debian.org/982556 sed -i -e 's/#ifndef NO_MAIN_THREAD_WRAPPING/#if 0/' src/rtc_base/thread.cc || die - # Causes forced inclusion of SSE2, only needed on MAC + # Causes forced inclusion of SSE2, so we strip it out on non-amd64 arches # https://github.com/desktop-app/tg_owt/pull/57 - sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die + use amd64 || sed -i '/modules\/desktop_capture/d' CMakeLists.txt || die cmake_src_prepare }