scons: Fix --with-ubsan/asan compilation flags
authorGiacomo Travaglini <giacomo.travaglini@arm.com>
Mon, 30 Apr 2018 16:42:38 +0000 (17:42 +0100)
committerGiacomo Travaglini <giacomo.travaglini@arm.com>
Fri, 4 May 2018 16:02:46 +0000 (16:02 +0000)
commit6d2e71156c00482447f2f33f65de072477ef64bd
tree55795f3fb76b0fa82310901aadf1f9510e4afd46
parentdead799736c6adf59e26e9088db34010aa6477f9
scons: Fix --with-ubsan/asan compilation flags

SConstruct was using an undefined env variable; this patch uses the main
Environment variable.

Change-Id: I30ab6b4bbfa6d9a71a30fb33406a799bfb476821
Signed-off-by: Giacomo Travaglini <giacomo.travaglini@arm.com>
Reviewed-by: Andreas Sandberg <andreas.sandberg@arm.com>
Reviewed-on: https://gem5-review.googlesource.com/10181
Reviewed-by: Gabe Black <gabeblack@google.com>
Maintainer: Gabe Black <gabeblack@google.com>
SConstruct