scons: Use conf to determine if some flags are supported.
authorGabe Black <gabe.black@gmail.com>
Sun, 7 Feb 2021 09:48:20 +0000 (01:48 -0800)
committerGabe Black <gabe.black@gmail.com>
Thu, 11 Feb 2021 19:33:24 +0000 (19:33 +0000)
commit79d53c83e6022dc1f1bb67d237165e26f91f52bb
treeac495cfbe691a0fa2dd9a30679f32f62c56a3a3b
parent1828a6e7e35e3247a2b5c9c42dcea6ae09a9b220
scons: Use conf to determine if some flags are supported.

Use conf rather than checking for particular combinations of OS and/or
compiler versions. This *should* be just as correct, and not require
keeping track of what versions of the tools particular flags were added.

Change-Id: Icaa4c273fe89801e2808e6a814ce476700fd6956
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/40861
Tested-by: kokoro <noreply+kokoro@google.com>
Maintainer: Gabe Black <gabe.black@gmail.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
SConstruct