Compare commits
2 Commits
master
...
master-ris
Author | SHA1 | Date |
---|---|---|
David Abdurachmanov | edabf2228f | |
David Abdurachmanov | f3144d31d1 |
|
@ -1,6 +1,6 @@
|
|||
Name: rocksdb
|
||||
Version: 5.7.3
|
||||
Release: 3%{?dist}
|
||||
Release: 3.0.riscv64%{?dist}
|
||||
Summary: A Persistent Key-Value Store for Flash and RAM Storage
|
||||
|
||||
License: BSD
|
||||
|
@ -40,10 +40,10 @@ rm build_tools/gnu_parallel
|
|||
%build
|
||||
export CFLAGS="%{optflags}"
|
||||
export EXTRA_CXXFLAGS=" -std=c++11 %{optflags}"
|
||||
make %{?_smp_mflags} shared_lib
|
||||
PORTABLE=1 make %{?_smp_mflags} shared_lib PORTABLE=ON
|
||||
|
||||
%install
|
||||
make install-shared \
|
||||
PORTABLE=1 make install-shared \
|
||||
INSTALL_PREFIX=%{buildroot}\
|
||||
LIB_INSTALL_DIR=%{_libdir}\
|
||||
INCLUDE_INSTALL_DIR=%{_includedir}
|
||||
|
@ -64,6 +64,9 @@ make install-shared \
|
|||
%{_includedir}/*
|
||||
|
||||
%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
|
||||
- Rebuild to fix GCC 8 mis-compilation
|
||||
See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")
|
||||
|
|
Loading…
Reference in New Issue