scons: Fix force_scons parsing.
authorJose Fonseca <jfonseca@vmware.com>
Fri, 25 Oct 2019 21:09:34 +0000 (22:09 +0100)
committerJose Fonseca <jfonseca@vmware.com>
Sat, 26 Oct 2019 07:23:48 +0000 (08:23 +0100)
commitace5138548c9833dacad14482ecadaa672884611
tree86ba4de00a7c102c12da5308f78414837af7d5cf
parentcff53da3748df296d104fe91fca13111296ce527
scons: Fix force_scons parsing.

- Use parsed options instead of using ARGUMENTS directly.
- Handle the case of mingw cross compilation.

Reviewed-by: Roland Scheidegger <sroland@vmware.com>
Closes: https://gitlab.freedesktop.org/mesa/mesa/issues/2003
SConstruct