summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGeorgy Yakovlev <gyakovlev@gentoo.org>2021-03-25 14:47:52 -0700
committerGeorgy Yakovlev <gyakovlev@gentoo.org>2021-03-25 14:48:08 -0700
commit6613d2a62615472b707aa33c9ff8160084313add (patch)
tree5483aebf8f7429ee16266d6981f8f323d3986dc2 /media-libs/tg_owt
parentdev-python/python-socks: Remove old (diff)
downloadgentoo-6613d2a62615472b707aa33c9ff8160084313add.tar.gz
gentoo-6613d2a62615472b707aa33c9ff8160084313add.tar.bz2
gentoo-6613d2a62615472b707aa33c9ff8160084313add.zip
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@gentoo.org>
Diffstat (limited to 'media-libs/tg_owt')
-rw-r--r--media-libs/tg_owt/tg_owt-0_pre20210309.ebuild4
1 files 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 6401fb3d7931..0aa7644fe085 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
}