From 5b0d77c02b3bf855fc6117f7ac736f3462694aeb Mon Sep 17 00:00:00 2001 From: Rolf Eike Beer Date: Mon, 28 Jun 2021 17:09:10 +0200 Subject: tatt_functions.sh: keep original use flags when doing initial minimal build Otherwise missing python_targets_* or ruby_targets_* may cause the build to fail early. Signed-off-by: Rolf Eike Beer --- templates/tatt_functions.sh | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/templates/tatt_functions.sh b/templates/tatt_functions.sh index bd21e46..d4e7cdf 100644 --- a/templates/tatt_functions.sh +++ b/templates/tatt_functions.sh @@ -49,7 +49,7 @@ function tatt_test_pkg # Do a first pass to avoid circular dependencies # --onlydeps should mean we're avoiding (too much) duplicate work - USE="minimal -doc" emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}" + USE="${USE} minimal -doc" emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}" if ! emerge --onlydeps -q1 --with-test-deps ${TATT_EMERGEOPTS} "${1:?}"; then echo "merging test dependencies of ${1} failed" >> "${TATT_REPORTFILE}" -- cgit v1.2.3-65-gdbad