--- SConstruct.orig 2015-04-13 20:50:01.073662000 +0300 +++ SConstruct 2015-04-13 20:54:33.231753000 +0300 @@ -22,10 +22,7 @@ import platform import SCons -env = Environment(**ARGUMENTS) -for var in ['PATH', 'SYSROOT']: - if var in os.environ: - env['ENV'][var] = os.environ[var] +env = Environment(ENV = os.environ, **ARGUMENTS) destdir = env.get('DESTDIR', '/sbin'); libs = ['exfat']