summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSteve Reinhardt <stever@gmail.com>2007-10-31 00:44:51 -0700
committerSteve Reinhardt <stever@gmail.com>2007-10-31 00:44:51 -0700
commitffdd67308a491992c2655935a259c8df7b528798 (patch)
tree4953e1948f7109b5efbe92c286ee99dfd79a35b1
parent90f42bf3ad99f3c99323773e7e26db7e66597fb9 (diff)
downloadgem5-ffdd67308a491992c2655935a259c8df7b528798.tar.xz
SConstruct: Fix env Dir/String problem
--HG-- extra : convert_revision : 6c5b6e9541030774bc44933f021fec51fb3cb227
-rw-r--r--SConstruct4
1 files changed, 2 insertions, 2 deletions
diff --git a/SConstruct b/SConstruct
index 30c1ed0a6..6c642b5c7 100644
--- a/SConstruct
+++ b/SConstruct
@@ -236,7 +236,7 @@ if False:
env.TargetSignatures('content')
# M5_PLY is used by isa_parser.py to find the PLY package.
-env.Append(ENV = { 'M5_PLY' : Dir('ext/ply') })
+env.Append(ENV = { 'M5_PLY' : str(Dir('ext/ply')) })
env['GCC'] = False
env['SUNCC'] = False
env['ICC'] = False
@@ -276,7 +276,7 @@ else:
if sys.platform == 'cygwin':
# cygwin has some header file issues...
env.Append(CCFLAGS=Split("-Wno-uninitialized"))
-env.Append(CPPPATH=[Dir('ext/dnet')])
+env.Append(CPPPATH=[str(Dir('ext/dnet'))])
# Check for SWIG
if not env.has_key('SWIG'):