diff --git a/util/m5/SConstruct b/util/m5/SConstruct index 8462cab696..3a96103aea 100644 --- a/util/m5/SConstruct +++ b/util/m5/SConstruct @@ -56,6 +56,8 @@ main.Append(CPPPATH=[ common_include ]) # Propogate the environment's PATH setting. main['ENV']['PATH'] = os.environ['PATH'] +# Pass through terminal information to, for instance, enable color output. +main['ENV']['TERM'] = os.environ['TERM'] # Detect some dependencies of some forms of the m5 utility/library. main['HAVE_JAVA'] = all(key in main for key in ('JAVAC', 'JAR'))