Fix libdir for riscv64
Signed-off-by: David Abdurachmanov <davidlt@rivosinc.com>
This commit is contained in:
parent
3ec80cb1dd
commit
27ec531acd
|
@ -68,12 +68,7 @@ developing applications that use %{name}.
|
|||
# https://gitlab.haskell.org/ghc/ghc/-/issues/20051
|
||||
# https://gitlab.gnome.org/GNOME/gobject-introspection/-/merge_requests/283
|
||||
# We need to get these fixes into Fedora before we can reeanble them.
|
||||
%configure \
|
||||
%ifarch riscv64
|
||||
--libdir=%{_libdir} \
|
||||
%endif
|
||||
--disable-static \
|
||||
--disable-exec-static-tramp
|
||||
%configure --disable-static --disable-exec-static-tramp
|
||||
%make_build
|
||||
|
||||
%check
|
||||
|
@ -115,6 +110,8 @@ install -m644 %{SOURCE2} $RPM_BUILD_ROOT%{_includedir}/ffitarget.h
|
|||
|
||||
# Print the content of buildroot
|
||||
find $RPM_BUILD_ROOT
|
||||
mv -v ${RPM_BUILD_ROOT}%{_libdir}/lp64d/* ${RPM_BUILD_ROOT}%{_libdir}/
|
||||
rm -rf ${RPM_BUILD_ROOT}%{_libdir}/lp64d
|
||||
|
||||
%ldconfig_scriptlets
|
||||
|
||||
|
|
Loading…
Reference in New Issue