diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-22 17:25:41 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2010-10-22 17:25:41 +0000 |
commit | dc36e1d905e3c8c70e2b3c81631efb921e76e988 (patch) | |
tree | 46d9313924ddaa0050ab831c99081ec466cf9f20 /main/gobject-introspection/001-ccache.patch | |
parent | 0975c61de8c50ba9675ec76f0c275f2fe43a2413 (diff) | |
download | aports-dc36e1d905e3c8c70e2b3c81631efb921e76e988.tar.bz2 aports-dc36e1d905e3c8c70e2b3c81631efb921e76e988.tar.xz |
main/gobject-introspection: fix for CC="ccache gcc"
from upstream
Diffstat (limited to 'main/gobject-introspection/001-ccache.patch')
-rw-r--r-- | main/gobject-introspection/001-ccache.patch | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/main/gobject-introspection/001-ccache.patch b/main/gobject-introspection/001-ccache.patch new file mode 100644 index 0000000000..1f9145df50 --- /dev/null +++ b/main/gobject-introspection/001-ccache.patch @@ -0,0 +1,24 @@ +From 404af5e1d854522df2b02db9f8805ce19f9e8b76 Mon Sep 17 00:00:00 2001 +From: Colin Walters <walters@verbum.org> +Date: Fri, 22 Oct 2010 15:28:40 +0000 +Subject: Handle CC="ccache gcc" for linker command too + +The compiler path explicitly split()s the variable, we should do +so in the linker path too. +--- +diff --git a/giscanner/dumper.py b/giscanner/dumper.py +index 773dec9..7462aa3 100644 +--- a/giscanner/dumper.py ++++ b/giscanner/dumper.py +@@ -200,7 +200,8 @@ class DumpCompiler(object): + args.append('--tag=CC') + args.append('--silent') + +- args.extend([self._linker_cmd, '-o', output]) ++ args = self._linker_cmd.split() ++ args.extend(['-o', output]) + if libtool: + args.append('-export-dynamic') + +-- +cgit v0.8.3.1 |