aboutsummaryrefslogtreecommitdiffstats
path: root/common.py
diff options
context:
space:
mode:
authorJosé Fonseca <[email protected]>2008-02-27 20:13:16 +0900
committerJosé Fonseca <[email protected]>2008-02-27 20:13:16 +0900
commit7a678556d4311168ac1dacdd613eb7b94684e443 (patch)
treefbc469f52fea61022981f77a480567ef3ae155f7 /common.py
parente49905b57c8a8691c093dd5dd55be7f087517416 (diff)
scons: Place the .sconsign file on the builddir too.
To avoid issues with different scons versions building the same source file
Diffstat (limited to 'common.py')
-rw-r--r--common.py3
1 files changed, 3 insertions, 0 deletions
diff --git a/common.py b/common.py
index e2650d6c8e2..b65ed7eaaa7 100644
--- a/common.py
+++ b/common.py
@@ -109,5 +109,8 @@ def make_build_dir(env):
if env['debug']:
build_subdir += "-debug"
build_dir = os.path.join(build_topdir, build_subdir)
+ # Place the .sconsign file on the builddir too, to avoid issues with different scons
+ # versions building the same source file
+ env.SConsignFile(os.path.join(build_dir, '.sconsign'))
return build_dir