diff options
-rw-r--r-- | lib/replace/wscript | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/lib/replace/wscript b/lib/replace/wscript index 575dcf9ac2..f9d051434f 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -57,7 +57,8 @@ def configure(conf): # trim whitespaces from 'CC'. # The build farm sometimes puts a space at the start if os.environ.get('CC'): - os.environ['CC'] = os.environ.get('CC').strip() + conf.env['CC'] = os.environ.get('CC').strip() + os.environ['CC'] = conf.env['CC'] conf.check_tool('compiler_cc') |