diff options
author | Andrew Tridgell <tridge@samba.org> | 2010-03-21 09:50:14 -0400 |
---|---|---|
committer | Andrew Tridgell <tridge@samba.org> | 2010-04-06 20:26:58 +1000 |
commit | b282660d3981540c8c9b588c25fcd8537a567988 (patch) | |
tree | a0494d42c5125490be7757685ffe1f808aa308ca /lib/replace/wscript | |
parent | dc9010572c1d32a4e1c82afbee2a359c429cc9aa (diff) | |
download | samba-b282660d3981540c8c9b588c25fcd8537a567988.tar.gz samba-b282660d3981540c8c9b588c25fcd8537a567988.tar.bz2 samba-b282660d3981540c8c9b588c25fcd8537a567988.zip |
build: fixed issue with CC="ccache cc" on solaris
Diffstat (limited to 'lib/replace/wscript')
-rw-r--r-- | lib/replace/wscript | 6 |
1 files changed, 1 insertions, 5 deletions
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') |