SCons: Improve registration of compilation_db tool, check version

There's a builtin `toolpath` option we can use for that, so no need to hack
around a custom `scons_site` path.

The script requires SCons 3.1.1 or later, so we enable it conditionally.

Follow-up to #32848.

(cherry picked from commit 22c718ab17)
This commit is contained in:
Rémi Verschelde
2020-05-18 13:58:27 +02:00
parent 9aa4648579
commit dcb68e0106
2 changed files with 6 additions and 7 deletions