Delete RPATH
This commit is contained in:
parent
37ba2de069
commit
53b7cf2473
@ -1,7 +1,7 @@
|
||||
Summary: Binary utilities
|
||||
Name: binutils
|
||||
Version: 2.34
|
||||
Release: 30
|
||||
Release: 31
|
||||
License: GPLv3+
|
||||
URL: https://sourceware.org/binutils
|
||||
|
||||
@ -74,7 +74,7 @@ Provides: bundled(libiberty)
|
||||
Buildroot: %(mktemp -ud %{_tmppath}/%{name}-%{version}-%{release}-XXXXXX)
|
||||
|
||||
BuildRequires: gcc, perl, sed, coreutils, dejagnu, zlib-devel, glibc-static, sharutils, bc, libstdc++-static
|
||||
BuildRequires: bison, m4, gcc-c++, gettext, flex, zlib-devel, texinfo >= 4.0, perl-podlators
|
||||
BuildRequires: bison, m4, gcc-c++, gettext, flex, zlib-devel, texinfo >= 4.0, perl-podlators, chrpath
|
||||
Requires(post): info coreutils chkconfig
|
||||
Requires(preun):info chkconfig
|
||||
|
||||
@ -203,6 +203,9 @@ done
|
||||
install -m 644 include/libiberty.h %{buildroot}%{_prefix}/include
|
||||
chmod +x %{buildroot}%{_libdir}/lib*.so*
|
||||
|
||||
# Delete RPATH
|
||||
chrpath -d %{buildroot}%{_bindir}/*
|
||||
|
||||
rm -f %{buildroot}%{_libdir}/lib{bfd,opcodes}.{so,la}
|
||||
|
||||
%ifarch %{ix86} x86_64 arm
|
||||
@ -319,6 +322,9 @@ fi
|
||||
%{_infodir}/bfd*info*
|
||||
|
||||
%changelog
|
||||
* Sat Nov 18 2023 eastb233 <xiezhiheng@huawei.com> - 2.34-31
|
||||
- Delete rpath
|
||||
|
||||
* Wed Oct 11 2023 eastb233 <xiezhiheng@huawei.com> - 2.34-30
|
||||
- Backport a fix about use-after-free issue
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user