summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--pym/portage/__init__.py4
1 files changed, 2 insertions, 2 deletions
diff --git a/pym/portage/__init__.py b/pym/portage/__init__.py
index 217db0aa7..40e3d1749 100644
--- a/pym/portage/__init__.py
+++ b/pym/portage/__init__.py
@@ -4537,9 +4537,9 @@ def doebuild(myebuild, mydo, myroot, mysettings, debug=0, listonly=0,
if env_stat:
mysettings._filter_calling_env = True
else:
- for var in "ARCH", "USERLAND":
+ for var in "ARCH", "USERLAND", "XARGS":
value = mysettings.get(var)
- if value:
+ if value and value.strip():
continue
if var == "USERLAND" and userland:
mysettings["USERLAND"] = userland