[packages/firefox] add -msse2 to a couple more places in libwebrtc on x86

atler atler at pld-linux.org
Wed Oct 19 02:05:39 CEST 2022


commit 20a7e7e8cb20f1f53b646be6b3eb1c6cfe8bac94
Author: Jan Palus <atler at pld-linux.org>
Date:   Wed Oct 19 02:04:48 2022 +0200

    add -msse2 to a couple more places in libwebrtc on x86

 x86-flags.patch | 39 +++++++++++++++++++++++++++++++++++++++
 1 file changed, 39 insertions(+)
---
diff --git a/x86-flags.patch b/x86-flags.patch
index 3cce7a6..abbfd0e 100644
--- a/x86-flags.patch
+++ b/x86-flags.patch
@@ -11,3 +11,42 @@
      DEFINES["WEBRTC_ENABLE_AVX2"] = True
      DEFINES["_GNU_SOURCE"] = True
  
+--- firefox-106.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build.orig	2022-10-10 18:05:26.000000000 +0200
++++ firefox-106.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_layers_gn/moz.build	2022-10-19 01:43:49.385751101 +0200
+@@ -202,6 +202,10 @@
+ 
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ 
++    CXXFLAGS += [
++        "-msse2"
++    ]
++
+     DEFINES["WEBRTC_ENABLE_AVX2"] = True
+     DEFINES["_GNU_SOURCE"] = True
+ 
+--- firefox-106.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build.orig	2022-10-19 02:03:30.208001521 +0200
++++ firefox-106.0/third_party/libwebrtc/modules/audio_processing/agc2/rnn_vad/rnn_vad_pitch_gn/moz.build	2022-10-19 01:48:09.492726376 +0200
+@@ -202,6 +202,10 @@
+ 
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ 
++    CXXFLAGS += [
++        "-msse2"
++    ]
++
+     DEFINES["WEBRTC_ENABLE_AVX2"] = True
+     DEFINES["_GNU_SOURCE"] = True
+ 
+--- firefox-106.0/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build.orig	2022-10-19 01:55:11.284923214 +0200
++++ firefox-106.0/third_party/libwebrtc/third_party/pffft/pffft_gn/moz.build	2022-10-19 01:53:50.047302289 +0200
+@@ -155,6 +155,10 @@
+ 
+ if CONFIG["CPU_ARCH"] == "x86" and CONFIG["OS_TARGET"] == "Linux":
+ 
++    CFLAGS += [
++        "-msse2"
++    ]
++
+     DEFINES["_GNU_SOURCE"] = True
+ 
+ if CONFIG["CPU_ARCH"] == "x86_64" and CONFIG["OS_TARGET"] == "Linux":
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/firefox.git/commitdiff/20a7e7e8cb20f1f53b646be6b3eb1c6cfe8bac94



More information about the pld-cvs-commit mailing list