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.

46 lines
2.0 KiB

  1. # --- T2-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # T2 SDE: package/.../glibc/gcc2_is_ok.patch.cross
  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. Glibc enforces the useage of gcc-3.x - unfortunately for header generation
  17. dufing a cross toolchain build gcc-2 is also pretty fine. So flatten gcc-3
  18. only assumptions for cross builds.
  19. - Rene Rebe <rene@exactcode.de>
  20. diff -u glibc-2.3.4-2004-05-01/Makeconfig glibc-2.3.4-2004-05-01-fixed/Makeconfig
  21. --- glibc-2.3.4-2004-05-01/Makeconfig 2004-04-18 00:38:24.000000000 +0200
  22. +++ glibc-2.3.4-2004-05-01-fixed/Makeconfig 2004-05-02 19:52:24.000000000 +0200
  23. @@ -580,7 +580,7 @@
  24. # The -MP flag tells GCC >= 3.2 (which we now require) to produce dummy
  25. # targets for headers so that removed headers don't break the build.
  26. ifndef +mkdep
  27. -+mkdep = $(CC) -M -MP
  28. ++mkdep = $(CC) -M
  29. endif
  30. # The program that makes Emacs-style TAGS files.
  31. diff -u glibc-2.3.4-2004-05-01/configure glibc-2.3.4-2004-05-01-fixed/configure
  32. --- glibc-2.3.4-2004-05-01/configure 2004-04-18 00:39:58.000000000 +0200
  33. +++ glibc-2.3.4-2004-05-01-fixed/configure 2004-05-02 19:50:10.000000000 +0200
  34. @@ -4044,7 +4044,7 @@
  35. '') ac_prog_version="v. ?.??, bad"; ac_verc_fail=yes;;
  36. 3.[2-9]*)
  37. ac_prog_version="$ac_prog_version, ok"; ac_verc_fail=no;;
  38. - *) ac_prog_version="$ac_prog_version, bad"; ac_verc_fail=yes;;
  39. + *) ac_prog_version="$ac_prog_version, bad (ignore)"; ac_verc_fail=no;;
  40. esac
  41. echo "$as_me:$LINENO: result: $ac_prog_version" >&5