]> git.pld-linux.org Git - packages/rocksdb.git/commitdiff
- fix make params, added USE_RTTI=1 to enable extending classes and auto/th/rocksdb-6.0.2-2
authorMarcin Krol <hawk@tld-linux.org>
Thu, 16 May 2019 11:18:30 +0000 (13:18 +0200)
committerMarcin Krol <hawk@tld-linux.org>
Thu, 16 May 2019 11:18:30 +0000 (13:18 +0200)
  prevent unresolved symbols when linking with rocksdb

rocksdb.spec

index 8f4c1e834c51955007dedd63ceefe9a4a909ad21..83e782dee15e50e126f2ecd780338ebc88ff6158 100644 (file)
@@ -9,7 +9,7 @@ Summary:        RocksDB: A Persistent Key-Value Store for Flash and RAM Storage
 Summary(pl.UTF-8):     RocksDB - trwała baza danych klucz-wartość dla pamięci Flash i RAM
 Name:          rocksdb
 Version:       6.0.2
-Release:       1
+Release:       2
 License:       BSD
 Group:         Libraries
 #Source0Download: https://github.com/facebook/rocksdb/releases
@@ -81,11 +81,12 @@ PLATFORM_LDFLAGS="-latomic" \
        AM_DEFAULT_VERBOSITY=1 \
        CC="%{__cc}" \
        CXX="%{__cxx}" \
-       %{!?with_debug:DEBUG_LEVEL=0}
+       %{!?with_debug:DEBUG_LEVEL=0} \
        EXTRA_CFLAGS="$(pkg-config --cflags liblz4)" \
        OPT="%{rpmcflags} %{!?debug:-DNDEBUG}" \
        PORTABLE=1 \
        %{!?with_tbb:ROCKSDB_DISABLE_TBB=1} \
+       USE_RTTI=1 \
        WARNING_FLAGS="%{rpmcppflags} -Wall"
 
 %install
This page took 0.036087 seconds and 4 git commands to generate.