dev-vcs/breezy: drop 3.3.5-r1
[gentoo/gentoo.git] / dev-build / gn / files / gn-gen-r7.patch
blobf4923602140614c2d9efdc338a007b97dc97a2d0
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
6 ---
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
12 --- a/build/gen.py
13 +++ b/build/gen.py
14 @@ -432,10 +432,10 @@ def WriteGNNinja(path, platform, host, options, args_list):
15 cflags.extend(['-D_LIBCPP_DEBUG=1', '-D_GLIBCXX_DEBUG=1'])
16 else:
17 cflags.append('-DNDEBUG')
18 - cflags.append('-O3')
19 - if options.no_strip:
20 - cflags.append('-g')
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',
32 '-pthread',
33 - '-pipe',
34 '-fno-exceptions',
35 '-fno-rtti',
36 '-fdiagnostics-color',
37 --
38 2.46.2