From 05d8c9acb8a5a985956998fc13551288496e5cdc Mon Sep 17 00:00:00 2001 From: Nathan Binkert Date: Tue, 21 Apr 2009 17:17:16 -0700 Subject: scons: Rename the basic environment from env -> main. env is used as a local variable all over the place and sometimes it is easy to get confused as to whether the global env or local env is being used. This will become especially important when I change the way we support our variants. --- ext/gzstream/SConscript | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'ext/gzstream/SConscript') diff --git a/ext/gzstream/SConscript b/ext/gzstream/SConscript index ef591229e..c8432ae15 100644 --- a/ext/gzstream/SConscript +++ b/ext/gzstream/SConscript @@ -28,11 +28,11 @@ # # Authors: Nathan Binkert -Import('env') +Import('main') -env.Library('gzstream', [File('gzstream.cc')]) +main.Library('gzstream', [File('gzstream.cc')]) -env.Prepend(CPPPATH=Dir('.')) -env.Append(LIBS=['gzstream']) -env.Prepend(LIBPATH=[Dir('.')]) +main.Prepend(CPPPATH=Dir('.')) +main.Append(LIBS=['gzstream']) +main.Prepend(LIBPATH=[Dir('.')]) -- cgit v1.2.3