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.

31 lines
1.3 KiB

  1. # --- SDE-COPYRIGHT-NOTE-BEGIN ---
  2. # This copyright note is auto-generated by ./scripts/Create-CopyPatch.
  3. #
  4. # Filename: package/.../gcc/gcc-4.1.2-gxx_include_dir.patch.toolchain
  5. # Copyright (C) 2008 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. --- gcc-4.1.2/gcc/configure.orig 2007-04-19 16:41:47.000000000 +0200
  17. +++ gcc-4.1.2/gcc/configure 2007-04-19 16:42:52.000000000 +0200
  18. @@ -1655,10 +1655,10 @@
  19. if test x${gcc_gxx_include_dir} = x; then
  20. if test x${enable_version_specific_runtime_libs} = xyes; then
  21. - gcc_gxx_include_dir='${libsubdir}/include/c++'
  22. + gcc_gxx_include_dir='${CROSS_SYSTEM_HEADER_DIR}/c++'
  23. else
  24. libstdcxx_incdir='c++/$(version)'
  25. - gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/include/"${libstdcxx_incdir}
  26. + gcc_gxx_include_dir="\$(CROSS_SYSTEM_HEADER_DIR)/"${libstdcxx_incdir}
  27. fi
  28. fi