From 69dc2f94e53426bbbf0c25c85995bf5b2504a3fa Mon Sep 17 00:00:00 2001 From: Silvan Calarco Date: Sun, 28 Jul 2024 14:10:37 +0200 Subject: [PATCH] update to 0.2175.b2afae1 [release 0.2175.b2afae1-1mamba;Sun Jul 28 2024] --- gn-0.20200521git-gcc-support.patch | 18 ------------------ gn.spec | 7 ++++--- 2 files changed, 4 insertions(+), 21 deletions(-) delete mode 100644 gn-0.20200521git-gcc-support.patch diff --git a/gn-0.20200521git-gcc-support.patch b/gn-0.20200521git-gcc-support.patch deleted file mode 100644 index 124d2d9..0000000 --- a/gn-0.20200521git-gcc-support.patch +++ /dev/null @@ -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', diff --git a/gn.spec b/gn.spec index 101cade..56d6d7a 100644 --- a/gn.spec +++ b/gn.spec @@ -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 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 0.2175.b2afae1-1mamba +- update to 0.2175.b2afae1 + * Tue Nov 21 2023 Silvan Calarco 0.2124.92e6327-1mamba - update to 0.2124.92e6327