Signed-off-by: Cristian Rodríguez
---
osc/build.py | 2 +-
osc/conf.py | 2 +-
2 files changed, 2 insertions(+), 2 deletions(-)
diff --git a/osc/build.py b/osc/build.py
index c85be15..54dc6d2 100644
--- a/osc/build.py
+++ b/osc/build.py
@@ -399,7 +399,7 @@ def main(apiurl, opts, argv):
buildargs.append('--icecream=%s' % num)
xp.append('icecream')
xp.append('gcc-c++')
- if opts.ccache:
+ if opts.ccache or config['ccache'] != '0':
buildargs.append('--ccache')
xp.append('ccache')
if opts.linksources:
diff --git a/osc/conf.py b/osc/conf.py
index 9494906..8c359a7 100644
--- a/osc/conf.py
+++ b/osc/conf.py
@@ -91,7 +91,7 @@ DEFAULTS = { 'apiurl': 'https://api.opensuse.org',
'build-jobs': _get_processors(),
'builtin_signature_check': '1', # by default use builtin check for verify pkgs
'icecream': '0',
-
+ 'ccache': '0',
'debug': '0',
'http_debug': '0',
'http_full_debug': '0',
--
1.7.4.1
--
To unsubscribe, e-mail: opensuse-buildservice+unsubscribe@opensuse.org
For additional commands, e-mail: opensuse-buildservice+help@opensuse.org