glibc: use build_with_debug() helper function

This commit is contained in:
MilhouseVH 2018-02-19 07:08:48 +00:00
parent 75a1f9e1d9
commit e07b99db3f

View File

@ -53,7 +53,7 @@ PKG_CONFIGURE_OPTS_TARGET="BASH_SHELL=/bin/sh \
--enable-lock-elision \
--disable-timezone-tools"
if [ "$DEBUG" = yes ]; then
if build_with_debug; then
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --enable-debug"
else
PKG_CONFIGURE_OPTS_TARGET="$PKG_CONFIGURE_OPTS_TARGET --disable-debug"