]> git.pld-linux.org Git - packages/xpra.git/blob - setup-cc-ccache.patch
- release 7 (by relup.sh)
[packages/xpra.git] / setup-cc-ccache.patch
1 allow spaces in $CC env
2
3 inspired 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.052205 seconds and 3 git commands to generate.