summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--SConstruct5
1 files changed, 3 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 3bbd60f37..4a0f64148 100644
--- a/SConstruct
+++ b/SConstruct
@@ -698,13 +698,14 @@ base_env = env
for build_path in build_paths:
print "Building in", build_path
+
+ # Make a copy of the build-root environment to use for this config.
+ env = base_env.Copy()
env['BUILDDIR'] = build_path
# build_dir is the tail component of build path, and is used to
# determine the build parameters (e.g., 'ALPHA_SE')
(build_root, build_dir) = os.path.split(build_path)
- # Make a copy of the build-root environment to use for this config.
- env = base_env.Copy()
# Set env options according to the build directory config.
sticky_opts.files = []