Switch to --disable-rpath
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
ab4b4fa798
commit
8f694b3142
11
guile.spec
11
guile.spec
|
@ -2,7 +2,7 @@ Summary: A GNU implementation of Scheme for application extensibility
|
||||||
Name: guile
|
Name: guile
|
||||||
%define mver 2.0
|
%define mver 2.0
|
||||||
Version: 2.0.14
|
Version: 2.0.14
|
||||||
Release: 29.0.riscv64%{?dist}
|
Release: 29.1.riscv64%{?dist}
|
||||||
Epoch: 5
|
Epoch: 5
|
||||||
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
|
Source: ftp://ftp.gnu.org/pub/gnu/guile/guile-%{version}.tar.xz
|
||||||
URL: http://www.gnu.org/software/guile/
|
URL: http://www.gnu.org/software/guile/
|
||||||
|
@ -64,11 +64,7 @@ autoreconf -fiv
|
||||||
export CFLAGS="$(echo $RPM_OPT_FLAGS | sed 's/-O2/-Os/')"
|
export CFLAGS="$(echo $RPM_OPT_FLAGS | sed 's/-O2/-Os/')"
|
||||||
%endif
|
%endif
|
||||||
|
|
||||||
%configure --disable-static --disable-error-on-warning
|
%configure --disable-static --disable-error-on-warning --disable-rpath
|
||||||
|
|
||||||
# Remove RPATH
|
|
||||||
sed -i 's|" $sys_lib_dlsearch_path "|" $sys_lib_dlsearch_path %{_libdir}/lp64d "|' \
|
|
||||||
libtool
|
|
||||||
|
|
||||||
%{make_build}
|
%{make_build}
|
||||||
|
|
||||||
|
@ -169,6 +165,9 @@ fi
|
||||||
%{_includedir}/guile
|
%{_includedir}/guile
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Thu Sep 29 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5:2.0.14-29.1.riscv64
|
||||||
|
- Switch to --disable-rpath
|
||||||
|
|
||||||
* Thu Sep 29 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5:2.0.14-29.0.riscv64
|
* Thu Sep 29 2022 David Abdurachmanov <davidlt@rivosinc.com> - 5:2.0.14-29.0.riscv64
|
||||||
- Change RPATH to /usr/lib/lp64d
|
- Change RPATH to /usr/lib/lp64d
|
||||||
|
|
||||||
|
|
Loading…
Reference in New Issue