diff options
author | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-27 20:13:16 +0900 |
---|---|---|
committer | José Fonseca <jrfonseca@tungstengraphics.com> | 2008-02-27 20:13:16 +0900 |
commit | 7a678556d4311168ac1dacdd613eb7b94684e443 (patch) | |
tree | fbc469f52fea61022981f77a480567ef3ae155f7 /common.py | |
parent | e49905b57c8a8691c093dd5dd55be7f087517416 (diff) | |
download | mesa-7a678556d4311168ac1dacdd613eb7b94684e443.tar.gz mesa-7a678556d4311168ac1dacdd613eb7b94684e443.tar.bz2 mesa-7a678556d4311168ac1dacdd613eb7b94684e443.zip |
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.py | 3 |
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 |