Gentoo Archives: gentoo-commits

From: Stephan Hartmann <sultan@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/gn/files/
Date: Wed, 22 Dec 2021 07:35:06
Message-Id: 1640158488.f6f813aa5d4e485e90f5275ac22df5740d6d8d7a.sultan@gentoo
1 commit: f6f813aa5d4e485e90f5275ac22df5740d6d8d7a
2 Author: Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
3 AuthorDate: Wed Dec 22 07:10:41 2021 +0000
4 Commit: Stephan Hartmann <sultan <AT> gentoo <DOT> org>
5 CommitDate: Wed Dec 22 07:34:48 2021 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f6f813aa
7
8 dev-util/gn: remove unused patch
9
10 Package-Manager: Portage-3.0.30, Repoman-3.0.3
11 Signed-off-by: Michael Mair-Keimberger <m.mairkeimberger <AT> gmail.com>
12 Closes: https://github.com/gentoo/gentoo/pull/23468
13 Signed-off-by: Stephan Hartmann <sultan <AT> gentoo.org>
14
15 dev-util/gn/files/gn-gen-r4.patch | 46 ---------------------------------------
16 1 file changed, 46 deletions(-)
17
18 diff --git a/dev-util/gn/files/gn-gen-r4.patch b/dev-util/gn/files/gn-gen-r4.patch
19 deleted file mode 100644
20 index 717c908f29dd..000000000000
21 --- a/dev-util/gn/files/gn-gen-r4.patch
22 +++ /dev/null
23 @@ -1,46 +0,0 @@
24 -From ad008cd029c995226fef36554e2e3cc657ef1380 Mon Sep 17 00:00:00 2001
25 -From: Mike Gilbert <floppym@g.o>
26 -Date: Sat, 14 Mar 2020 18:02:51 +0000
27 -Subject: [PATCH] Remove unwanted cflags/ldflags parameters
28 -
29 ----
30 - build/gen.py | 9 ---------
31 - 1 file changed, 9 deletions(-)
32 -
33 -diff --git a/build/gen.py b/build/gen.py
34 -index bcd9f15d..b48e844c 100755
35 ---- a/build/gen.py
36 -+++ b/build/gen.py
37 -@@ -288,11 +288,6 @@ def WriteGNNinja(path, platform, host, options):
38 - if options.debug:
39 - cflags.extend(['-O0', '-g'])
40 - else:
41 -- cflags.append('-DNDEBUG')
42 -- cflags.append('-O3')
43 -- if options.no_strip:
44 -- cflags.append('-g')
45 -- ldflags.append('-O3')
46 - # Use -fdata-sections and -ffunction-sections to place each function
47 - # or data item into its own section so --gc-sections can eliminate any
48 - # unused functions and data items.
49 -@@ -325,7 +320,6 @@ def WriteGNNinja(path, platform, host, options):
50 - '-D_FILE_OFFSET_BITS=64',
51 - '-D__STDC_CONSTANT_MACROS', '-D__STDC_FORMAT_MACROS',
52 - '-pthread',
53 -- '-pipe',
54 - '-fno-exceptions',
55 - '-fno-rtti',
56 - '-fdiagnostics-color',
57 -@@ -341,9 +335,6 @@ def WriteGNNinja(path, platform, host, options):
58 - if not options.no_static_libstdcpp:
59 - ldflags.append('-static-libstdc++')
60 -
61 -- # This is needed by libc++.
62 -- if not platform.is_mingw():
63 -- libs.append('-ldl')
64 - elif platform.is_darwin():
65 - min_mac_version_flag = '-mmacosx-version-min=10.9'
66 - cflags.append(min_mac_version_flag)
67 ---
68 -2.24.1
69 -