OpenSDE Packages Database (without history before r20070)
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

45 lines
1.9 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../ccache/libtool-options.patch
  5. # Copyright (C) 2004 - 2006 The T2 SDE Project
  6. #
  7. # More information can be found in the files COPYING and README.
  8. #
  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
  14. # version.
  15. # --- T2-COPYRIGHT-NOTE-END ---
  16. The -M* options that control dependency file creation do not affact the output
  17. and especially -MF is used with randomized filenames by libtool and thus
  18. invalidate the hash unnecessarily.
  19. Rene Rebe <rene@exactcode.de>
  20. --- ccache-2.4/ccache.c 2004-09-13 12:38:30.000000000 +0200
  21. +++ ccache-2.4-fixed/ccache.c 2005-10-19 18:36:29.000000000 +0200
  22. @@ -291,6 +291,8 @@
  23. strcmp(args->argv[i], "-include") == 0 ||
  24. strcmp(args->argv[i], "-L") == 0 ||
  25. strcmp(args->argv[i], "-D") == 0 ||
  26. + strcmp(args->argv[i], "-MF") == 0 ||
  27. + strcmp(args->argv[i], "-MT") == 0 ||
  28. strcmp(args->argv[i], "-idirafter") == 0 ||
  29. strcmp(args->argv[i], "-isystem") == 0) {
  30. i++;
  31. @@ -300,6 +302,11 @@
  32. if (strncmp(args->argv[i], "-I", 2) == 0 ||
  33. strncmp(args->argv[i], "-L", 2) == 0 ||
  34. strncmp(args->argv[i], "-D", 2) == 0 ||
  35. + strncmp(args->argv[i], "-MD", 3) == 0 ||
  36. + strncmp(args->argv[i], "-MP", 3) == 0 ||
  37. + strncmp(args->argv[i], "-MF", 3) == 0 ||
  38. + strncmp(args->argv[i], "-MT", 3) == 0 ||
  39. + strncmp(args->argv[i], "-Wp", 3) == 0 ||
  40. strncmp(args->argv[i], "-idirafter", 10) == 0 ||
  41. strncmp(args->argv[i], "-isystem", 8) == 0) {
  42. continue;