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.

34 lines
1.5 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gcc/no-fixincludes.patch
  5. # Copyright (C) 2010 - 2011 The OpenSDE 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. # --- SDE-COPYRIGHT-NOTE-END ---
  16. # Do not run the 'fixinc.sh' script.
  17. # The fixincludes script attempts to "fix" the system headers installed so far.
  18. # Since GCC is cross-compiled expecting the system headers to be in
  19. # /usr/include, the script will be looking at the host system's headers.
  20. diff --git a/gcc/Makefile.in b/gcc/Makefile.in
  21. index 60dcee5..e5cff9c 100644
  22. --- a/gcc/Makefile.in
  23. +++ b/gcc/Makefile.in
  24. @@ -4168,7 +4168,7 @@ stmp-fixinc: gsyslimits.h macro_list fixinc_list \
  25. gcc_dir=`${PWD_COMMAND}` ; \
  26. export TARGET_MACHINE srcdir SHELL MACRO_LIST && \
  27. cd $(build_objdir)/fixincludes && \
  28. - $(SHELL) ./fixinc.sh "$${gcc_dir}/$${fix_dir}" \
  29. + $(SHELL) -c true "$${gcc_dir}/$${fix_dir}" \
  30. $(SYSTEM_HEADER_DIR) $(OTHER_FIXINCLUDES_DIRS) ); \
  31. rm -f $${fix_dir}/syslimits.h; \
  32. if [ -f $${fix_dir}/limits.h ]; then \