summaryrefslogtreecommitdiff
path: root/config/windows.config
diff options
context:
space:
mode:
authorAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-05 13:38:52 +0200
committerAndoni Morales Alastruey <ylatuya@gmail.com>2012-07-05 13:53:05 +0200
commit6d5e2f605692d3bd820835716268fb69fa4ae22b (patch)
tree9a6795bae728def7d9c95061208900452ec850b5 /config/windows.config
parent2352c20421b2614b6a7e3485ee330e8baa569c26 (diff)
windows.config: don't add spaces in the compiler variables
Diffstat (limited to 'config/windows.config')
-rw-r--r--config/windows.config6
1 files changed, 3 insertions, 3 deletions
diff --git a/config/windows.config b/config/windows.config
index 75a38b53..52cab366 100644
--- a/config/windows.config
+++ b/config/windows.config
@@ -47,14 +47,14 @@ os.environ['CFLAGS'] = '-g -O2 '
os.environ['CXXFLAGS'] = '-g -O2 '
os.environ['OBJCFLAGS'] = '-g -O2 '
-ccache = use_ccache and 'ccache' or ''
+ccache = use_ccache and 'ccache ' or ''
# Toolchain environment
os.environ['CFLAGS'] += "-DWINVER=0x0501"
os.environ['LDFLAGS'] = "-L%s/lib %s" % (toolchain_prefix, os.environ.get('LDFLAGS', ''))
os.environ['CXXFLAGS']=os.environ['CFLAGS']
-os.environ['CC']= '%s %s' % (ccache, cmd('gcc'))
-os.environ['CXX']= '%s %s' % (ccache, cmd('g++'))
+os.environ['CC']= '%s%s' % (ccache, cmd('gcc'))
+os.environ['CXX']= '%s%s' % (ccache, cmd('g++'))
os.environ['LD']= cmd('ld')
os.environ['CPP']= cmd('cpp')
os.environ['RANLIB']= cmd('ranlib')