From ea35ca0422ea5fd7f46823ec7bfbc29257d90233 Mon Sep 17 00:00:00 2001 From: =?utf8?q?Enrico=20Tr=C3=B6ger?= Date: Sun, 7 Jun 2009 18:42:48 +0200 Subject: [PATCH] Split the value of "CC" so that "ccache gcc" works --- wscript | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/wscript b/wscript index 391c2082..f7ccdfa8 100644 --- a/wscript +++ b/wscript @@ -108,7 +108,7 @@ def configure (conf): conf.env.append_value ('CCFLAGS', '-mms-bitfields') conf.env['staticlib_LINKFLAGS'] = [] - Utils.pprint ('BLUE', 'Mingw recognized, assuming chross compile.') + Utils.pprint ('BLUE', 'Mingw recognized, assuming cross compile.') dirname_default ('LIBDIR', os.path.join (conf.env['PREFIX'], 'lib')) if conf.env['PREFIX'] == '/usr': @@ -194,7 +194,7 @@ def configure (conf): conf.define ('HAVE_HILDON', [0,1][hildon == 'yes']) # Store options in env, since 'Options' is not persistent - if 'CC' in os.environ: conf.env['CC'] = os.environ['CC'] + if 'CC' in os.environ: conf.env['CC'] = os.environ['CC'].split() conf.env['addons'] = option_enabled ('addons') conf.env['docs'] = option_enabled ('docs') -- 2.39.5