mirror of
https://github.com/archr-linux/Arch-R.git
synced 2026-03-31 14:41:55 -07:00
attr: use build_with_debug() helper function
This commit is contained in:
@@ -34,7 +34,7 @@ PKG_CONFIGURE_OPTS_TARGET="OPTIMIZER= \
|
||||
INSTALL_USER=root INSTALL_GROUP=root \
|
||||
--disable-shared --enable-static"
|
||||
|
||||
if [ "$DEBUG" = yes ]; then
|
||||
if build_with_debug; then
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DDEBUG"
|
||||
else
|
||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DNDEBUG"
|
||||
|
||||
Reference in New Issue
Block a user