mirror of
https://github.com/gentoo-mirror/gentoo.git
synced 2026-09-16 14:29:05 -07:00
meson.eclass: fix setting BUILD_DIR after the lto refactor
BUILD_DIR is an eclass variable and should be publicly, globally set. Closes: https://bugs.gentoo.org/925939 Signed-off-by: Eli Schwartz <eschwartz93@gmail.com> Signed-off-by: Sam James <sam@gentoo.org>
This commit is contained in:
@@ -374,8 +374,6 @@ setup_meson_src_configure() {
|
||||
MESONARGS+=( --cross-file "$(_meson_create_cross_file)" )
|
||||
fi
|
||||
|
||||
BUILD_DIR="${BUILD_DIR:-${WORKDIR}/${P}-build}"
|
||||
|
||||
# Handle quoted whitespace
|
||||
eval "local -a MYMESONARGS=( ${MYMESONARGS} )"
|
||||
|
||||
@@ -412,6 +410,8 @@ meson_src_configure() {
|
||||
|
||||
[[ -n "${NINJA_DEPEND}" ]] || ewarn "Unknown value '${NINJA}' for \${NINJA}"
|
||||
|
||||
BUILD_DIR="${BUILD_DIR:-${WORKDIR}/${P}-build}"
|
||||
|
||||
(
|
||||
setup_meson_src_configure "$@"
|
||||
MESONARGS+=(
|
||||
|
||||
Reference in New Issue
Block a user