1 From 74f21d84b06e63cd558a5e69f8195b5f93230a2f Mon Sep 17 00:00:00 2001
2 From: Matt Jolly <kangie@gentoo.org>
3 Date: Thu, 10 Oct 2024 12:23:12 +1000
4 Subject: [PATCH] Update patch to v7
7 build/gen.py | 9 ++++-----
8 1 file changed, 4 insertions(+), 5 deletions(-)
10 diff --git a/build/gen.py b/build/gen.py
11 index d1c649cb..104ce569 100755
14 @@ -432,10 +432,10 @@ def WriteGNNinja(path, platform, host, options, args_list):
15 cflags.extend(['-D_LIBCPP_DEBUG=1', '-D_GLIBCXX_DEBUG=1'])
17 cflags.append('-DNDEBUG')
18 - cflags.append('-O3')
19 - if options.no_strip:
21 - ldflags.append('-O3')
22 +# cflags.append('-O3')
23 +# if options.no_strip:
24 +# cflags.append('-g')
25 +# ldflags.append('-O3')
26 # Use -fdata-sections and -ffunction-sections to place each function
27 # or data item into its own section so --gc-sections can eliminate any
28 # unused functions and data items.
29 @@ -482,7 +482,6 @@ def WriteGNNinja(path, platform, host, options, args_list):
30 '-D_FILE_OFFSET_BITS=64',
31 '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
36 '-fdiagnostics-color',