From: José Fonseca Date: Wed, 27 Feb 2008 11:13:16 +0000 (+0900) Subject: scons: Place the .sconsign file on the builddir too. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=7a678556d4311168ac1dacdd613eb7b94684e443;p=mesa.git scons: Place the .sconsign file on the builddir too. To avoid issues with different scons versions building the same source file --- 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