File: fix-armel.patch

package info (click to toggle)
generate-ninja 0.0~git20250430.487f835-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 7,592 kB
  • sloc: cpp: 87,081; python: 2,065; sh: 205; objc: 159; lisp: 129; makefile: 23; xml: 7
file content (18 lines) | stat: -rw-r--r-- 676 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Fix build with armel g++

There is a report upstream: https://bugs.chromium.org/p/gn/issues/detail?id=376&no_tracker_redirect=1
This is just a workaround

Forwarded: not-needed
diff --git a/build/gen.py b/build/gen.py
index 0ef92473..80f78e0f 100755
--- a/build/gen.py
+++ b/build/gen.py
@@ -514,6 +514,7 @@ def WriteGNNinja(path, platform, host, options, args_list):
         '-Wno-deprecated-copy',
         '-Wno-implicit-fallthrough',
         '-Wno-redundant-move',
+        '-Wno-unused-value',
         '-Wno-unused-variable',
         '-Wno-strict-aliasing',    # Dereferencing punned pointer
         '-Wno-cast-function-type', # Casting FARPROC to RegDeleteKeyExPtr