From f3144d31d167a1b2dfa928c33ed64ae0d8779915 Mon Sep 17 00:00:00 2001 From: David Abdurachmanov Date: Fri, 22 Jun 2018 19:37:43 +0200 Subject: [PATCH] Set PORTABLE=ON to avoid -march=native Signed-off-by: David Abdurachmanov --- rocksdb.spec | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/rocksdb.spec b/rocksdb.spec index 14d1857..1ee4a29 100644 --- a/rocksdb.spec +++ b/rocksdb.spec @@ -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 @@ -46,7 +46,8 @@ make %{?_smp_mflags} shared_lib make install-shared \ INSTALL_PREFIX=%{buildroot}\ LIB_INSTALL_DIR=%{_libdir}\ - INCLUDE_INSTALL_DIR=%{_includedir} + INCLUDE_INSTALL_DIR=%{_includedir}\ + PORTABLE=ON %post -p /sbin/ldconfig %postun -p /sbin/ldconfig @@ -64,6 +65,9 @@ make install-shared \ %{_includedir}/* %changelog +* Fri Jun 22 2018 David Abdurachmanov - 5.7.3-3.0.riscv64 +- Set PORTABLE=ON to avoid -march=native + * Wed Mar 07 2018 Adam Williamson - 5.7.3-3 - Rebuild to fix GCC 8 mis-compilation See https://da.gd/YJVwk ("GCC 8 ABI change on x86_64")