Accepting request 960207 from devel:tools:compiler

OBS-URL: https://build.opensuse.org/request/show/960207
OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/mold?expand=0&rev=8
This commit is contained in:
Dominique Leuenberger 2022-03-08 19:32:11 +00:00 committed by Git OBS Bridge
commit f6af5e61f3
4 changed files with 23 additions and 7 deletions

3
mold-1.1.1.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:47c5ddfe60beffc01da954191c819d78924e4d1eb96aeebfa24e1862cb3a33f9
size 4530297

View File

@ -1,3 +0,0 @@
version https://git-lfs.github.com/spec/v1
oid sha256:2f04bb2cd58797258c4f5f6f29fd2667f8b6c6b2bc76c731fede526884ea9a0c
size 4522886

View File

@ -1,3 +1,18 @@
-------------------------------------------------------------------
Tue Mar 8 12:07:34 UTC 2022 - Martin Liška <mliska@suse.cz>
- Respect %{optflags}.
-------------------------------------------------------------------
Tue Mar 8 09:58:13 UTC 2022 - Martin Liška <mliska@suse.cz>
- Update to version 1.1.1
* Native LTO (Link-Time Optimization) support
* RISC-V CPU architecture support
* Optimize memory usage by reducing the sizes of
frequently-allocated objects; roughly 6% redux in the maximum
RSS.
-------------------------------------------------------------------
Wed Feb 23 23:29:01 UTC 2022 - Christoph G <foss@grueninger.de>

View File

@ -17,7 +17,7 @@
Name: mold
Version: 1.1
Version: 1.1.1
Release: 0
Summary: A Modern Linker (mold)
License: AGPL-3.0-or-later
@ -61,12 +61,13 @@ export CXX=g++-10
export CC=gcc
export CXX=g++
%endif
export CFLAGS="%{optflags} -Wno-sign-compare"
export CXXFLAGS="${CFLAGS}"
export MANDIR=%{_mandir}
export LIBDIR=%{_libdir}
export BINDIR=%{_bindir}
%make_build %{build_args}
export CXXFLAGS="%{optflags} -Wno-sign-compare"
export LDFLAGS="${CXXFLAGS}"
%make_build %{build_args} CXXFLAGS="${CXXFLAGS}" LDFLAGS="${LDFLAGS}"
%install
%make_install PREFIX=%{_prefix} BINDIR=%{_bindir} MANDIR=%{_mandir} LIBDIR=%{_libdir} %{build_args}