scons: Remove -Werror for the gem5 v22.1 release

While gem5 compiles on all our supported compilers, removing the -Werror
flag on the stable branch ensures that, as new compilers are released
with stricter warnings, gem5 remains compilable.

Change-Id: Ib6d4f86d9c7e60f23eba843e444cdd7812cdde41
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/65912
Tested-by: kokoro <noreply+kokoro@google.com>
Reviewed-by: Bobby Bruce <bbruce@ucdavis.edu>
Maintainer: Bobby Bruce <bbruce@ucdavis.edu>
1 file changed