Set PORTABLE=ON to avoid -march=native
Signed-off-by: David Abdurachmanov <david.abdurachmanov@gmail.com>
This commit is contained in:
parent
861353b5e2
commit
f3144d31d1
@ -1,6 +1,6 @@
|
|||||||
Name: rocksdb
|
Name: rocksdb
|
||||||
Version: 5.7.3
|
Version: 5.7.3
|
||||||
Release: 3%{?dist}
|
Release: 3.0.riscv64%{?dist}
|
||||||
Summary: A Persistent Key-Value Store for Flash and RAM Storage
|
Summary: A Persistent Key-Value Store for Flash and RAM Storage
|
||||||
|
|
||||||
License: BSD
|
License: BSD
|
||||||
@ -46,7 +46,8 @@ make %{?_smp_mflags} shared_lib
|
|||||||
make install-shared \
|
make install-shared \
|
||||||
INSTALL_PREFIX=%{buildroot}\
|
INSTALL_PREFIX=%{buildroot}\
|
||||||
LIB_INSTALL_DIR=%{_libdir}\
|
LIB_INSTALL_DIR=%{_libdir}\
|
||||||
INCLUDE_INSTALL_DIR=%{_includedir}
|
INCLUDE_INSTALL_DIR=%{_includedir}\
|
||||||
|
PORTABLE=ON
|
||||||
|
|
||||||
%post -p /sbin/ldconfig
|
%post -p /sbin/ldconfig
|
||||||
%postun -p /sbin/ldconfig
|
%postun -p /sbin/ldconfig
|
||||||
@ -64,6 +65,9 @@ make install-shared \
|
|||||||
%{_includedir}/*
|
%{_includedir}/*
|
||||||
|
|
||||||
%changelog
|
%changelog
|
||||||
|
* Fri Jun 22 2018 David Abdurachmanov <david.abdurachmanov@gmail.com> - 5.7.3-3.0.riscv64
|
||||||
|
- Set PORTABLE=ON to avoid -march=native
|
||||||
|
|
||||||
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 5.7.3-3
|
* Wed Mar 07 2018 Adam Williamson <awilliam@redhat.com> - 5.7.3-3
|
||||||
- Rebuild to fix GCC 8 mis-compilation
|
- Rebuild to fix GCC 8 mis-compilation
|
||||||
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
|
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
|
||||||
|
Loading…
Reference in New Issue
Block a user