aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rwxr-xr-xcrossdev2
-rwxr-xr-xwrappers/emerge-wrapper2
2 files changed, 2 insertions, 2 deletions
diff --git a/crossdev b/crossdev
index 619603f..57ffbb5 100755
--- a/crossdev
+++ b/crossdev
@@ -983,7 +983,7 @@ load_multilib_env() {
for p in ${SEARCH_OVERLAYS} ${MAIN_REPO_PATH} ; do
p+="/eclass/multilib.eclass"
if [[ -e ${p} ]] ; then
- . "${p}"
+ EAPI=7 . "${p}"
break
fi
done
diff --git a/wrappers/emerge-wrapper b/wrappers/emerge-wrapper
index d9ba08b..d8c6537 100755
--- a/wrappers/emerge-wrapper
+++ b/wrappers/emerge-wrapper
@@ -48,7 +48,7 @@ cross_wrap_etc()
ARCH=$(
inherit() { :; }
die() { err "toolchain-funcs.eclass$*"; }
- . "${MAIN_REPO_PATH}"/eclass/toolchain-funcs.eclass
+ EAPI=7 . "${MAIN_REPO_PATH}"/eclass/toolchain-funcs.eclass
tc-arch
)
[[ $? -ne 0 ]] && err "Failed calling 'tc-arch' from toolchain-funcs.eclass."