- fix build issue in libvpx for i586 via mozilla-bmo1622013.patch
OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/MozillaFirefox?expand=0&rev=823
This commit is contained in:
parent
18e3ccbecf
commit
82d729ebc6
@ -26,6 +26,7 @@ Tue Apr 7 12:18:27 UTC 2020 - Wolfgang Rosenauer <wr@rosenauer.org>
|
|||||||
* rust-cbindgen >= 0.13.1
|
* rust-cbindgen >= 0.13.1
|
||||||
* mozilla-nss >= 3.51
|
* mozilla-nss >= 3.51
|
||||||
* nodejs10 >= 10.19
|
* nodejs10 >= 10.19
|
||||||
|
- fix build issue in libvpx for i586 via mozilla-bmo1622013.patch
|
||||||
|
|
||||||
-------------------------------------------------------------------
|
-------------------------------------------------------------------
|
||||||
Mon Apr 6 11:19:24 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
|
Mon Apr 6 11:19:24 UTC 2020 - Michel Normand <normand@linux.vnet.ibm.com>
|
||||||
|
@ -186,6 +186,7 @@ Patch19: mozilla-bmo1512162.patch
|
|||||||
Patch20: mozilla-fix-top-level-asm.patch
|
Patch20: mozilla-fix-top-level-asm.patch
|
||||||
Patch21: mozilla-bmo1504834-part4.patch
|
Patch21: mozilla-bmo1504834-part4.patch
|
||||||
Patch22: mozilla-bmo849632.patch
|
Patch22: mozilla-bmo849632.patch
|
||||||
|
Patch23: mozilla-bmo1622013.patch
|
||||||
# Firefox/browser
|
# Firefox/browser
|
||||||
Patch101: firefox-kde.patch
|
Patch101: firefox-kde.patch
|
||||||
Patch102: firefox-branded-icons.patch
|
Patch102: firefox-branded-icons.patch
|
||||||
@ -321,6 +322,7 @@ cd $RPM_BUILD_DIR/%{srcname}-%{orig_version}
|
|||||||
%patch20 -p1
|
%patch20 -p1
|
||||||
%patch21 -p1
|
%patch21 -p1
|
||||||
%patch22 -p1
|
%patch22 -p1
|
||||||
|
%patch23 -p1
|
||||||
# Firefox
|
# Firefox
|
||||||
%patch101 -p1
|
%patch101 -p1
|
||||||
%patch102 -p1
|
%patch102 -p1
|
||||||
|
28
mozilla-bmo1622013.patch
Normal file
28
mozilla-bmo1622013.patch
Normal file
@ -0,0 +1,28 @@
|
|||||||
|
From be45ba20c33a8a247115e79fd4c1f3295d652ba3 Mon Sep 17 00:00:00 2001
|
||||||
|
From: Jan Beich <jbeich@FreeBSD.org>
|
||||||
|
Date: Mon, 23 Mar 2020 08:20:22 +0000
|
||||||
|
Subject: [PATCH] Bug 1622013 - Build *_mmx.c files with -mmmx in bundled libvpx.
|
||||||
|
|
||||||
|
diff --git a/media/libvpx/moz.build b/media/libvpx/moz.build
|
||||||
|
index f3845941fe4de..47853d43408b7 100644
|
||||||
|
--- a/media/libvpx/moz.build
|
||||||
|
+++ b/media/libvpx/moz.build
|
||||||
|
@@ -97,16 +97,18 @@ if CONFIG['OS_TARGET'] == 'Android':
|
||||||
|
DEFINES['__linux__'] = True
|
||||||
|
|
||||||
|
SOURCES += [
|
||||||
|
'%%%s/sources/android/cpufeatures/cpu-features.c' % CONFIG['ANDROID_NDK'],
|
||||||
|
]
|
||||||
|
|
||||||
|
for f in SOURCES:
|
||||||
|
if f.endswith('.c'):
|
||||||
|
+ if 'mmx.c' in f:
|
||||||
|
+ SOURCES[f].flags += ['-mmmx']
|
||||||
|
if 'sse2.c' in f:
|
||||||
|
SOURCES[f].flags += CONFIG['SSE2_FLAGS']
|
||||||
|
if 'ssse3.c' in f:
|
||||||
|
SOURCES[f].flags += ['-mssse3']
|
||||||
|
if 'sse4.c' in f:
|
||||||
|
SOURCES[f].flags += ['-msse4.1']
|
||||||
|
if 'avx.c' in f:
|
||||||
|
SOURCES[f].flags += ['-mavx']
|
Loading…
Reference in New Issue
Block a user