File: hardening.patch

package info (click to toggle)
generate-ninja 0.0~git20250917.1a7c151-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 7,640 kB
  • sloc: cpp: 87,856; python: 2,121; sh: 205; objc: 159; lisp: 130; makefile: 23; xml: 7
file content (18 lines) | stat: -rw-r--r-- 685 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
Remove option incompatible with Debian hardening.

Forwarded: not-needed
Index: gn/build/gen.py
===================================================================
--- gn.orig/build/gen.py
+++ gn/build/gen.py
@@ -525,9 +525,9 @@ def WriteGNNinja(path, platform, host, o
         '-Wno-implicit-fallthrough',
         '-Wno-redundant-move',
         '-Wno-unused-variable',
-        '-Wno-format',             # Use of %llx, which is supported by _UCRT, false positive
         '-Wno-strict-aliasing',    # Dereferencing punned pointer
         '-Wno-cast-function-type', # Casting FARPROC to RegDeleteKeyExPtr
+        '-Wno-error=nonnull',
       ])
 
     elif platform.is_darwin():