build-style/cmake: add check fo nodebug flag
[ci skip]
This commit is contained in:
parent
2a1048fd65
commit
6f0fee9429
1 changed files with 1 additions and 1 deletions
|
@ -42,7 +42,7 @@ _EOF
|
|||
fi
|
||||
cmake_args+=" -DCMAKE_INSTALL_PREFIX=/usr"
|
||||
|
||||
if [ -n "$XBPS_DEBUG_PKGS" ]; then
|
||||
if [ -n "$XBPS_DEBUG_PKGS"] && [ -z $nodebug ]; then
|
||||
cmake_args+=" -DCMAKE_BUILD_TYPE=RelWithDebInfo"
|
||||
else
|
||||
cmake_args+=" -DCMAKE_BUILD_TYPE=Release"
|
||||
|
|
Loading…
Reference in a new issue