File: hardening.patch

package info (click to toggle)
generate-ninja 0.0~git20250430.487f835-1
  • links: PTS, VCS
  • area: main
  • in suites: 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 (15 lines) | stat: -rw-r--r-- 614 bytes parent folder | download
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
Remove option incompatible with Debian hardening.

Forwarded: not-needed
diff --git a/build/gen.py b/build/gen.py
index d1c649cb..96a83f75 100755
--- a/build/gen.py
+++ b/build/gen.py
@@ -515,7 +515,6 @@ def WriteGNNinja(path, platform, host, options, args_list):
         '-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
       ])