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