1 # --- SDE-COPYRIGHT-NOTE-BEGIN ---
2 # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
4 # Filename: package/.../ccache/libtool-options.patch
5 # Copyright (C) 2004 - 2006 The T2 SDE Project
7 # More information can be found in the files COPYING and README.
9 # This patch file is dual-licensed. It is available under the license the
10 # patched project is licensed under, as long as it is an OpenSource license
11 # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
12 # of the GNU General Public License as published by the Free Software
13 # Foundation; either version 2 of the License, or (at your option) any later
15 # --- SDE-COPYRIGHT-NOTE-END ---
17 The -M* options that control dependency file creation do not affact the output
18 and especially -MF is used with randomized filenames by libtool and thus
19 invalidate the hash unnecessarily.
21 Rene Rebe <rene@exactcode.de>
23 --- ccache-2.4/ccache.c 2004-09-13 12:38:30.000000000 +0200
24 +++ ccache-2.4-fixed/ccache.c 2005-10-19 18:36:29.000000000 +0200
26 strcmp(args->argv[i], "-include") == 0 ||
27 strcmp(args->argv[i], "-L") == 0 ||
28 strcmp(args->argv[i], "-D") == 0 ||
29 + strcmp(args->argv[i], "-MF") == 0 ||
30 + strcmp(args->argv[i], "-MT") == 0 ||
31 strcmp(args->argv[i], "-idirafter") == 0 ||
32 strcmp(args->argv[i], "-isystem") == 0) {
35 if (strncmp(args->argv[i], "-I", 2) == 0 ||
36 strncmp(args->argv[i], "-L", 2) == 0 ||
37 strncmp(args->argv[i], "-D", 2) == 0 ||
38 + strncmp(args->argv[i], "-MD", 3) == 0 ||
39 + strncmp(args->argv[i], "-MP", 3) == 0 ||
40 + strncmp(args->argv[i], "-MF", 3) == 0 ||
41 + strncmp(args->argv[i], "-MT", 3) == 0 ||
42 + strncmp(args->argv[i], "-Wp", 3) == 0 ||
43 strncmp(args->argv[i], "-idirafter", 10) == 0 ||
44 strncmp(args->argv[i], "-isystem", 8) == 0) {