From b282660d3981540c8c9b588c25fcd8537a567988 Mon Sep 17 00:00:00 2001 From: Andrew Tridgell Date: Sun, 21 Mar 2010 09:50:14 -0400 Subject: build: fixed issue with CC="ccache cc" on solaris --- lib/replace/wscript | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) (limited to 'lib/replace') diff --git a/lib/replace/wscript b/lib/replace/wscript index d54e18b26b..97e5534d5d 100644 --- a/lib/replace/wscript +++ b/lib/replace/wscript @@ -57,11 +57,7 @@ def configure(conf): # load our local waf extensions conf.check_tool('wafsamba', tooldir=conf.srcdir + "/buildtools/wafsamba") - # trim whitespaces from 'CC'. - # The build farm sometimes puts a space at the start - if os.environ.get('CC'): - conf.env['CC'] = os.environ.get('CC').strip() - os.environ['CC'] = conf.env['CC'] + conf.CHECK_CC_ENV() conf.check_tool('compiler_cc') -- cgit