SConstruct: Fix env Dir/String problem
--HG-- extra : convert_revision : 6c5b6e9541030774bc44933f021fec51fb3cb227
This commit is contained in:
parent
90f42bf3ad
commit
ffdd67308a
1 changed files with 2 additions and 2 deletions
|
@ -236,7 +236,7 @@ if False:
|
||||||
env.TargetSignatures('content')
|
env.TargetSignatures('content')
|
||||||
|
|
||||||
# M5_PLY is used by isa_parser.py to find the PLY package.
|
# 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['GCC'] = False
|
||||||
env['SUNCC'] = False
|
env['SUNCC'] = False
|
||||||
env['ICC'] = False
|
env['ICC'] = False
|
||||||
|
@ -276,7 +276,7 @@ else:
|
||||||
if sys.platform == 'cygwin':
|
if sys.platform == 'cygwin':
|
||||||
# cygwin has some header file issues...
|
# cygwin has some header file issues...
|
||||||
env.Append(CCFLAGS=Split("-Wno-uninitialized"))
|
env.Append(CCFLAGS=Split("-Wno-uninitialized"))
|
||||||
env.Append(CPPPATH=[Dir('ext/dnet')])
|
env.Append(CPPPATH=[str(Dir('ext/dnet'))])
|
||||||
|
|
||||||
# Check for SWIG
|
# Check for SWIG
|
||||||
if not env.has_key('SWIG'):
|
if not env.has_key('SWIG'):
|
||||||
|
|
Loading…
Reference in a new issue