From 4b68550642098f42b8fb3d7b08b6d6f475bb3d34 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sat, 20 Mar 2010 16:00:52 -0400 Subject: build: also need to put stripped CC in conf.env --- lib/replace/wscript | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib') 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') -- cgit