patches: remove libtgvoip msse2 patch

This commit is contained in:
Marco Trevisan (Treviño) 2018-03-10 19:53:51 +01:00
parent f199c177eb
commit 2e6f4cc619
2 changed files with 0 additions and 20 deletions

View File

@ -1,19 +0,0 @@
diff --git a/libtgvoip.gyp b/libtgvoip.gyp
index 8639848..10cd0e7 100644
--- a/libtgvoip.gyp
+++ b/libtgvoip.gyp
@@ -382,8 +382,12 @@
'defines': [
'WEBRTC_POSIX',
],
- 'cflags_cc': [
- '-msse2',
+ 'conditions': [
+ [ '"<!(uname -p)" == "x86_64" or "<!(uname -p)" == "i686"', {
+ 'cflags_cc': [
+ '-msse2',
+ ],
+ }]
],
'direct_dependent_settings': {
'libraries': [

View File

@ -57,7 +57,6 @@ parts:
patches_dir=$SNAPCRAFT_STAGE/../patches
git -C ../src apply -v3 $patches_dir/telegram-debug-customizable-working-dir.patch || true
git -C ../src apply -v3 $patches_dir/telegram-disable-werror.patch || true
git -C ../src/Telegram/ThirdParty/libtgvoip apply -v3 $patches_dir/libtgvoip-only-enable-msse2-on-supported-archs.patch || true
build-packages:
- libappindicator-dev
- libappindicator3-dev