]> git.pld-linux.org Git - packages/rocksdb.git/commitdiff
- i486 needs libatomic auto/th/rocksdb-3.6.1-1
authorJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Oct 2014 19:40:54 +0000 (20:40 +0100)
committerJakub Bogusz <qboosh@pld-linux.org>
Tue, 28 Oct 2014 19:40:54 +0000 (20:40 +0100)
rocksdb.spec

index 2d4cb77833d5162397439f324ddd8abebb9ab75c..ab9c78c16be1d3d8d3e5d0248d81dbd1b8fb8bdc 100644 (file)
@@ -11,6 +11,9 @@ Patch0:               %{name}-libdir.patch
 URL:           http://rocksdb.org/
 BuildRequires: bzip2-devel
 BuildRequires: gflags-devel
+%ifarch i386 i486
+BuildRequires: libatomic-devel
+%endif
 BuildRequires: libstdc++-devel >= 6:4.7
 BuildRequires: libtcmalloc-devel
 BuildRequires: lz4-devel
@@ -54,6 +57,9 @@ Statyczna biblioteka RocksDB.
 %patch0 -p1
 
 %build
+%ifarch i386 i486
+PLATFORM_LDFLAGS="-latomic" \
+%endif
 %{__make} all shared_lib \
        CC="%{__cc}" \
        CXX="%{__cxx}" \
This page took 0.042087 seconds and 4 git commands to generate.