update to 0.2175.b2afae1 [release 0.2175.b2afae1-1mamba;Sun Jul 28 2024]

This commit is contained in:
Silvan Calarco 2024-07-28 14:10:37 +02:00
parent 2cc1626ddf
commit 69dc2f94e5
2 changed files with 4 additions and 21 deletions

View File

@ -1,18 +0,0 @@
diff --git a/build/gen.py b/build/gen.py
index d2305c8f..811c2e95 100755
--- a/build/gen.py
+++ b/build/gen.py
@@ -324,8 +324,11 @@ def WriteGNNinja(path, platform, host, options):
ldflags.append('-Wl,--icf=all')
if options.use_lto:
- cflags.extend(['-flto', '-fwhole-program-vtables'])
- ldflags.extend(['-flto', '-fwhole-program-vtables'])
+ cflags.append('-flto')
+ ldflags.append('-flto')
+ if "clang" in cxx:
+ cflags.append('-fwhole-program-vtables')
+ ldflags.append('-fwhole-program-vtables')
cflags.extend([
'-D_FILE_OFFSET_BITS=64',

View File

@ -1,7 +1,7 @@
%define commit_ver %(echo %version | cut -d. -f3)
Name: gn
Epoch: 1
Version: 0.2124.92e6327
Version: 0.2175.b2afae1
Release: 1mamba
Summary: A meta-build system that generates build files for Ninja
Group: Development/Tools
@ -10,7 +10,6 @@ Distribution: openmamba
Packager: Silvan Calarco <silvan.calarco@mambasoft.it>
URL: https://gn.googlesource.com/gn/+/main/README.md
Source: https://gn.googlesource.com/gn.git/master@%{commit_ver}/gn-%{version}.tar.bz2
Patch0: gn-0.20200521git-gcc-support.patch
License: BSD
## AUTOBUILDREQ-BEGIN
BuildRequires: glibc-devel
@ -24,7 +23,6 @@ GN is a meta-build system that generates build files for Ninja.
%prep
%setup -q
#%patch 0 -p1
cat > src/last_commit_position.h << _EOF
// Generated by build/gen.py.
@ -67,6 +65,9 @@ install -D -m0755 out/gn %{buildroot}%{_bindir}/gn
%doc AUTHORS LICENSE
%changelog
* Sun Jul 28 2024 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2175.b2afae1-1mamba
- update to 0.2175.b2afae1
* Tue Nov 21 2023 Silvan Calarco <silvan.calarco@mambasoft.it> 0.2124.92e6327-1mamba
- update to 0.2124.92e6327