Also honor the $CXX environment variable.

This commit is contained in:
radsaq 2006-08-01 01:15:30 +00:00
parent ebab58016c
commit 530ce65fa6
1 changed files with 2 additions and 0 deletions

View File

@ -11,6 +11,8 @@ env = Environment(options = opts,
if os.environ.has_key('CC'):
env.Replace(CC = os.environ['CC'])
if os.environ.has_key('CXX'):
env.Replace(CXX = os.environ['CXX'])
if os.environ.has_key('CFLAGS'):
env.Append(CCFLAGS = os.environ['CFLAGS'])
if os.environ.has_key('LDFLAGS'):