Quellcodebibliothek Statistik Leitseite products/sources/formale Sprachen/C/Firefox/media/libyuv/   (Browser von der Mozilla Stiftung Version 136.0.1©)  Datei vom 10.2.2025 mit Größe 786 B image not shown  

Quelle  04_fix_loongarch64_link_failed.patch   Sprache: unbekannt

 
Spracherkennung für: .patch vermutete Sprache: Unknown {[0] [0] [0]} [Methode: Schwerpunktbildung, einfache Gewichte, sechs Dimensionen]

diff --git a/libyuv.gyp b/libyuv.gyp
index 2e5c8af..8ea4a2f 100644
--- a/libyuv.gyp
+++ b/libyuv.gyp
@@ -29,6 +29,7 @@
     'mips_msa%': 0,  # Default to msa off.
     'build_neon': 0,
     'build_msa': 0,
+    'build_lsx': 0,
     'conditions': [
        ['(target_arch == "armv7" or target_arch == "armv7s" or \
        (target_arch == "arm" and arm_version >= 7) or target_arch == "arm64")\
@@ -98,6 +99,15 @@
             'LIBYUV_MSA',
           ],
         }],
+        ['build_lsx == 0', {
+          'conditions': [
+            ['target_arch == "loongarch64"', {
+              'cflags_mozilla': [
+                '-mno-lsx',
+              ],
+            }],
+          ],
+        }],
         ['build_with_mozilla == 1', {
           'defines': [
             'HAVE_JPEG'

[ Dauer der Verarbeitung: 0.29 Sekunden  ]