config/path: set BUILD_WITH_DEBUG variable

This commit is contained in:
MilhouseVH 2018-02-19 07:08:48 +00:00
parent 19e70ddf30
commit f398be85a2

View File

@ -52,6 +52,13 @@ SED="sed -i"
unset LD_LIBRARY_PATH
# Don't use BUILD_WITH_DEBUG in "gloabl" package.mk - instead, call the function
# build_with_debug() directly as the function depends on various package.mk
# variables that will be in the process of being configured. Once package.mk is
# fully sourced we can set this variable and use it in situations where we know the
# package has already been sourced.
unset BUILD_WITH_DEBUG
# If the package caches are unset, then populate them
init_package_cache
@ -141,6 +148,8 @@ fi
PKG_BUILD="$BUILD/${PKG_NAME}-${PKG_VERSION}"
build_with_debug && BUILD_WITH_DEBUG="yes" || BUILD_WITH_DEBUG="no"
XORG_PATH_DRI=/usr/lib/dri
XORG_PATH_XKB=/usr/share/X11/xkb
XORG_PATH_XKB_OUTPUT=/var/lib/xkb