Also honor the $CXX environment variable.
This commit is contained in:
parent
ebab58016c
commit
530ce65fa6
|
@ -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'):
|
||||
|
|
Loading…
Reference in New Issue