Script 'mail_helper' called by obssrc
Hello community,

here is the log from the commit of package gn for openSUSE:Factory checked in 
at 2021-09-13 16:24:26
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Comparing /work/SRC/openSUSE:Factory/gn (Old)
 and      /work/SRC/openSUSE:Factory/.gn.new.1899 (New)
++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Package is "gn"

Mon Sep 13 16:24:26 2021 rev:12 rq:917929 version:0.20210811

Changes:
--------
--- /work/SRC/openSUSE:Factory/gn/gn.changes    2021-09-04 22:32:09.595897489 
+0200
+++ /work/SRC/openSUSE:Factory/.gn.new.1899/gn.changes  2021-09-13 
16:25:08.786787390 +0200
@@ -1,0 +2,5 @@
+Fri Sep 10 10:18:06 UTC 2021 - Callum Farmer <gm...@opensuse.org>
+
+- Fix build with riscv64
+
+-------------------------------------------------------------------

++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++

Other differences:
------------------
++++++ gn.spec ++++++
--- /var/tmp/diff_new_pack.oe9N3q/_old  2021-09-13 16:25:09.322788009 +0200
+++ /var/tmp/diff_new_pack.oe9N3q/_new  2021-09-13 16:25:09.326788014 +0200
@@ -15,6 +15,9 @@
 # Please submit bugfixes or comments via https://bugs.opensuse.org/
 #
 
+%ifnarch riscv64
+%define with_lto 1
+%endif
 Name:           gn
 Version:        0.20210811
 Release:        0
@@ -24,7 +27,9 @@
 Source0:        %{name}-%{version}.tar.xz
 BuildRequires:  clang
 BuildRequires:  libstdc++-devel
+%ifnarch riscv64
 BuildRequires:  lld
+%endif
 BuildRequires:  llvm
 BuildRequires:  ninja
 BuildRequires:  python3-base
@@ -41,13 +46,13 @@
 export CXX=clang++
 export AR=llvm-ar
 export CXXFLAGS="${ARCH_FLAGS} -fPIE"
-export LDFLAGS="-fuse-ld=lld -Wl,--build-id=sha1 -pie"
+export LDFLAGS="%{?with_lto:-fuse-ld=lld} -Wl,--build-id=sha1 -pie"
 # bootstrap
 python3 build/gen.py \
   --no-strip \
   --no-last-commit-position \
   --no-static-libstdc++ \
-  --use-lto
+  %{?with_lto:--use-lto}
 PV=%{version}
 cat >out/last_commit_position.h <<-EOF
        #ifndef OUT_LAST_COMMIT_POSITION_H_

Reply via email to