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.

31 lines
1.5 KiB

  1. This fix is for passing -auxbase or -auxbase-strip thru the "gcc" driver
  2. programs (e.g. 'gcc') to the backend compilers (e.g. 'cc1'). We will need
  3. this for supporting feedback compilation using the ROCK toolchain...
  4. - Clifford <clifford@clifford.at>
  5. --- ./gcc/gcc.h.orig 2004-09-24 15:42:27.000000000 +0200
  6. +++ ./gcc/gcc.h 2004-09-24 15:43:24.000000000 +0200
  7. @@ -46,6 +46,7 @@
  8. (!strcmp (STR, "Tdata") || !strcmp (STR, "Ttext") \
  9. || !strcmp (STR, "Tbss") || !strcmp (STR, "include") \
  10. || !strcmp (STR, "imacros") || !strcmp (STR, "aux-info") \
  11. + || !strcmp (STR, "auxbase") || !strcmp (STR, "auxbase-strip") \
  12. || !strcmp (STR, "idirafter") || !strcmp (STR, "iprefix") \
  13. || !strcmp (STR, "iwithprefix") || !strcmp (STR, "iwithprefixbefore") \
  14. || !strcmp (STR, "isystem") || !strcmp (STR, "-param") \
  15. --- ./gcc/gcc.c.orig 2004-09-24 15:44:36.000000000 +0200
  16. +++ ./gcc/gcc.c 2004-09-24 15:48:48.000000000 +0200
  17. @@ -765,9 +765,9 @@
  18. /* NB: This is shared amongst all front-ends. */
  19. static const char *cc1_options =
  20. "%{pg:%{fomit-frame-pointer:%e-pg and -fomit-frame-pointer are incompatible}}\
  21. - %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*} %{a*}\
  22. + %1 %{!Q:-quiet} -dumpbase %B %{d*} %{m*}\
  23. %{c|S:%{o*:-auxbase-strip %*}%{!o*:-auxbase %b}}%{!c:%{!S:-auxbase %b}}\
  24. - %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\
  25. + %{a*} %{g*} %{O*} %{W*&pedantic*} %{w} %{std*} %{ansi}\
  26. %{v:-version} %{pg:-p} %{p} %{f*} %{undef}\
  27. %{Qn:-fno-ident} %{--help:--help}\
  28. %{--target-help:--target-help}\