mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-04 20:06:43 +02:00
community/gvmd: fix build with CMake None build type
Without introducing a new dependency by passing -DNDEBUG.
This commit is contained in:
parent
d241a2c607
commit
fded05e642
@ -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 \
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user