--- lprof-1.11.4.1.org/SConstruct 2006-06-06 02:11:32.000000000 +0100 +++ lprof-1.11.4.1/SConstruct 2017-08-29 12:56:13.425654683 +0100 @@ -22,12 +22,7 @@ # opts.Add(BoolOption('qt-mt-lib', 'Flag used to set QT library to either qt-mt or qt. Value of 1 = qt-mt, 0 = qt.', 'yes')) # setup base environemnt -env = Environment( - ENV = { - 'PATH' : os.environ[ 'PATH' ], - 'HOME' : os.environ[ 'HOME' ], # required for distcc - 'LDFLAGS' : '' - }, options = opts) +env = Environment(ENV = os.environ, options = opts) opts.Update(env) opts.Save('lprof.conf', env) # Save, so user doesn't have to