mirror of
https://github.com/LibreELEC/LibreELEC.tv.git
synced 2025-07-28 05:06:43 +00:00
attr: use build_with_debug() helper function
This commit is contained in:
parent
9dd6be587a
commit
75a1f9e1d9
@ -34,7 +34,7 @@ PKG_CONFIGURE_OPTS_TARGET="OPTIMIZER= \
|
|||||||
INSTALL_USER=root INSTALL_GROUP=root \
|
INSTALL_USER=root INSTALL_GROUP=root \
|
||||||
--disable-shared --enable-static"
|
--disable-shared --enable-static"
|
||||||
|
|
||||||
if [ "$DEBUG" = yes ]; then
|
if build_with_debug; then
|
||||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DDEBUG"
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DDEBUG"
|
||||||
else
|
else
|
||||||
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DNDEBUG"
|
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET DEBUG=-DNDEBUG"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user