ebook-tools: fixed cmake flags

This commit is contained in:
Tim Biermann 2020-12-06 23:51:37 +00:00
parent c9660872b8
commit 79f5a0bc0b
2 changed files with 4 additions and 4 deletions

View File

@ -1,5 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF330sXLDRkxc3CwCJV23CawbRmlOmXuwuq3XHpHOni89DHDsIwvgG0/j3mTiTvYaDL8uAj8JJcqZPL8F+Z8+Tdgg=
SHA256 (Pkgfile) = f112a07bfa2c2c1a9f7854f14dfaa75899302ae62ac3fdfc1497617bb6a46f63
RWSagIOpLGJF36a1+xF6/EYgs+XvTEvqmNRP45EOT0jTAJy9dAjLSImUIC1w0+6kUCy8jheAm1hLgYTs8a/Wye/dxBvdPLnfSAI=
SHA256 (Pkgfile) = a6be0dcc5ddaae6e1be2542c68feecd559d60be24739286e6fe5963de8b4e003
SHA256 (.footprint) = 5b8b4f54bb379770a3b81c2a5a4f2ca1913a2799ffed0a2c5f5defa3154a7d41
SHA256 (ebook-tools-0.2.2.tar.gz) = cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae

View File

@ -13,8 +13,8 @@ build() {
cmake -S $name-$version -B build $PKGMK_EBOOKTOOLS \
-D CMAKE_INSTALL_PREFIX=/usr \
-D CMAKE_BUILD_TYPE=Release \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS -DNDEBUG" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS -DNDEBUG" \
-D CMAKE_CXX_FLAGS_RELEASE="$CXXFLAGS" \
-D CMAKE_C_FLAGS_RELEASE="$CFLAGS" \
-Wno-dev
cmake --build build
DESTDIR=$PKG cmake --install build