scons: Pass the DISPLAY environment variable through to SCons.

This lets gui programs run correctly within SCons, specifically the
kconfig "guiconfig" helper utility.

Change-Id: Iec51df3db89ac7e7411e6c08fe8201afb69dc63e
Reviewed-on: https://gem5-review.googlesource.com/c/public/gem5/+/56952
Reviewed-by: Matthew Poremba <matthew.poremba@amd.com>
Maintainer: Matthew Poremba <matthew.poremba@amd.com>
Tested-by: kokoro <noreply+kokoro@google.com>
This commit is contained in:
Gabe Black
2022-02-18 00:51:57 -08:00
committed by Roger Chang
parent ce715601ad
commit 1aa8d6c004

View File

@@ -67,6 +67,7 @@ def EnvDefaults(env):
"LINKFLAGS_EXTRA", "LINKFLAGS_EXTRA",
"LANG", "LANG",
"LC_CTYPE", "LC_CTYPE",
"DISPLAY",
] ]
) )