rocksdb: don't overwrite CMAKE_BUILD_TYPE

This commit is contained in:
Đoàn Trần Công Danh 2021-03-27 15:17:28 +07:00
parent 92b7a1403e
commit 12b8026a9b
1 changed files with 4 additions and 3 deletions

View File

@ -3,15 +3,16 @@ pkgname=rocksdb
version=5.18.3
revision=2
build_style=cmake
configure_args="-DCMAKE_BUILD_TYPE=Release -DPORTABLE=1 -DWITH_TESTS=0
-DUSE_RTTI=0 -DWITH_LZ4=1"
configure_args="-DPORTABLE=1 -DWITH_TESTS=0 -DUSE_RTTI=0 -DWITH_LZ4=1"
makedepends="liblz4-devel"
short_desc="RocksDB is a embeddable, persistent key-value store for fast storage"
maintainer="magenbluten <mb0@codemonkey.cc>"
license="GPL-2.0-or-later, Apache-2.0"
license="GPL-2.0-or-later, Apache-2.0, BSD-3-Clause"
homepage="https://github.com/facebook/rocksdb"
distfiles="${homepage}/archive/v${version}.tar.gz"
checksum=7fb6738263d3f2b360d7468cf2ebe333f3109f3ba1ff80115abd145d75287254
CFLAGS=-DNDEBUG
CXXFLAGS=-DNDEBUG
if [ "$XBPS_TARGET_NO_ATOMIC8" ]; then
makedepends+=" libatomic-devel"