From fded05e6427c299fc62de22f7526bdd9647f92b7 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?S=C3=B6ren=20Tempel?= Date: Sat, 22 Feb 2020 00:24:16 +0100 Subject: [PATCH] community/gvmd: fix build with CMake None build type Without introducing a new dependency by passing -DNDEBUG. --- community/gvmd/APKBUILD | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/community/gvmd/APKBUILD b/community/gvmd/APKBUILD index 70f751bc397..4e882ed23c6 100644 --- a/community/gvmd/APKBUILD +++ b/community/gvmd/APKBUILD @@ -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 \