Index: pylib/gyp/__init__.py |
diff --git a/pylib/gyp/__init__.py b/pylib/gyp/__init__.py |
index e43a72418be9124c28255f43114fea04ddd648d1..b10d97a93bd0d57c847b4b52d6857dc3ed0a1243 100755 |
--- a/pylib/gyp/__init__.py |
+++ b/pylib/gyp/__init__.py |
@@ -493,7 +493,8 @@ def gyp_main(args): |
'gyp_binary': sys.argv[0], |
'home_dot_gyp': home_dot_gyp, |
'parallel': options.parallel, |
- 'root_targets': options.root_targets} |
+ 'root_targets': options.root_targets, |
+ 'target_arch': cmdline_default_variables.get('target_arch', '')} |
# Start with the default variables from the command line. |
[generator, flat_list, targets, data] = Load( |