community/gvmd: fix build with CMake None build type

Without introducing a new dependency by passing -DNDEBUG.
This commit is contained in:
Sören Tempel 2020-02-22 00:24:16 +01:00
parent d241a2c607
commit fded05e642

View File

@ -39,7 +39,9 @@ prepare() {
build() {
cd "$builddir"/build
cmake -DCMAKE_BUILD_TYPE=None \
# Requires libexecinfo when compiled without -DNDEBUG.
CFLAGS="$CFLAGS -DNDEBUG" \
cmake -DCMAKE_BUILD_TYPE=None \
-DSBINDIR=/usr/bin \
-DCMAKE_INSTALL_PREFIX=/usr \
-DSYSCONFDIR=/etc \