mirror of the now-defunct rocklinux.org
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.

50 lines
2.3 KiB

  1. # --- ROCK-COPYRIGHT-NOTE-BEGIN ---
  2. #
  3. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  4. # Please add additional copyright information _after_ the line containing
  5. # the ROCK-COPYRIGHT-NOTE-END tag. Otherwise it might get removed by
  6. # the ./scripts/Create-CopyPatch script. Do not edit this copyright text!
  7. #
  8. # ROCK Linux: rock-src/package/base/gcc/gcc34/auxbase.patch
  9. # ROCK Linux is Copyright (C) 1998 - 2005 Clifford Wolf
  10. #
  11. # This patch file is dual-licensed. It is available under the license the
  12. # patched project is licensed under, as long as it is an OpenSource license
  13. # as defined at http://www.opensource.org/ (e.g. BSD, X11) or under the terms
  14. # of the GNU General Public License as published by the Free Software
  15. # Foundation; either version 2 of the License, or (at your option) any later
  16. # version.
  17. #
  18. # --- ROCK-COPYRIGHT-NOTE-END ---
  19. This fix is for passing -auxbase or -auxbase-strip thru the "gcc" driver
  20. programs (e.g. 'gcc') to the backend compilers (e.g. 'cc1'). We will need
  21. this for supporting feedback compilation using the ROCK toolchain...
  22. - Clifford <clifford@clifford.at>
  23. --- ./gcc/gcc.h.orig 2004-09-24 15:42:27.000000000 +0200
  24. +++ ./gcc/gcc.h 2004-09-24 15:43:24.000000000 +0200
  25. @@ -46,6 +46,7 @@
  26. (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
  27. || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
  28. || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
  29. + || !strcmp (STR, "auxbase") || !strcmp (STR, "auxbase-strip") \
  30. || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
  31. || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
  32. || !strcmp (STR, "isystem") || !strcmp (STR, "-param") \
  33. --- ./gcc/gcc.c.orig 2004-09-24 15:44:36.000000000 +0200
  34. +++ ./gcc/gcc.c 2004-09-24 15:48:48.000000000 +0200
  35. @@ -788,9 +788,9 @@
  36. /* NB: This is shared amongst all front-ends. */
  37. static const char *cc1_options =
  38. "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  39. - %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
  40. + %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*}\
  41. %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\
  42. - %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
  43. + %{a*} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*&ansi&trigraphs}\
  44. %{v:-version} %{pg:-p} %{p} %{f*} %{undef}\
  45. %{Qn:-fno-ident} %{--help:--help}\
  46. %{--target-help:--target-help}\