]> git.pld-linux.org Git - packages/xpra.git/blame - setup-cc-ccache.patch
- x264 rebuild
[packages/xpra.git] / setup-cc-ccache.patch
CommitLineData
ee1187c7
ER
1allow spaces in $CC env
2
3inspired from https://codereview.chromium.org/14813020/
4--- xpra-0.10.10/setup.py~ 2013-12-19 11:14:12.000000000 +0200
5+++ xpra-0.10.10/setup.py 2013-12-30 20:14:28.220987556 +0200
6@@ -284,7 +284,8 @@
7 def get_gcc_version():
8 global GCC_VERSION
9 if len(GCC_VERSION)==0:
10- cmd = [os.environ.get("CC", "gcc"), "-v"]
11+ cc = os.environ.get('CC', 'gcc').split()
12+ cmd = cc + ['-v']
13 proc = subprocess.Popen(cmd, stdin=subprocess.PIPE, stdout=subprocess.PIPE, stderr=subprocess.STDOUT)
14 output, _ = proc.communicate()
15 status = proc.wait()
This page took 0.085009 seconds and 4 git commands to generate.