Browse Source

gcc: rediffed and renamed toolchain patch for fixing gxx includedir

user/karasz/test/ecn
Christian Wiese 15 years ago committed by Alejandro Mery
parent
commit
94bb616d0c
  1. 13
      base/gcc/gcc-4.4.2-gxx_include_dir.patch.toolchain

13
base/gcc/gcc-4.1.2-gxx_include_dir.patch.toolchain → base/gcc/gcc-4.4.2-gxx_include_dir.patch.toolchain

@ -1,7 +1,7 @@
# --- SDE-COPYRIGHT-NOTE-BEGIN ---
# This copyright note is auto-generated by ./scripts/Create-CopyPatch.
#
# Filename: package/.../gcc/gcc-4.1.2-gxx_include_dir.patch.toolchain
# Filename: package/.../gcc/gcc-4.4.2-gxx_include_dir.patch.toolchain
# Copyright (C) 2008 - 2009 The OpenSDE Project
#
# More information can be found in the files COPYING and README.
@ -14,9 +14,9 @@
# version.
# --- SDE-COPYRIGHT-NOTE-END ---
--- ./gcc/configure.orig 2007-05-10 10:30:26.337940266 +0200
+++ ./gcc/configure 2007-05-10 10:35:26.183027464 +0200
@@ -1680,13 +1680,10 @@
--- gcc-4.4.2/gcc/configure.orig 2009-03-24 18:46:03.000000000 +0100
+++ gcc-4.4.2/gcc/configure 2009-11-28 12:12:49.000000000 +0100
@@ -1879,13 +1879,10 @@
# This logic must match libstdc++-v3/acinclude.m4:GLIBCXX_EXPORT_INSTALL_INFO.
if test x${gcc_gxx_include_dir} = x; then
if test x${enable_version_specific_runtime_libs} = xyes; then
@ -24,11 +24,12 @@
+ gcc_gxx_include_dir='${CROSS_SYSTEM_HEADER_DIR}/c++'
else
- libstdcxx_incdir='include/c++/$(version)'
+ libstdcxx_incdir='c++/$(version)'
- if test x$host != x$target; then
- libstdcxx_incdir="$target_alias/$libstdcxx_incdir"
- fi
- gcc_gxx_include_dir="\$(libsubdir)/\$(unlibsubdir)/..\`echo \$(exec_prefix) | sed -e 's|^\$(prefix)||' -e 's|/[^/]*|/..|g'\`/$libstdcxx_incdir"
- gcc_gxx_include_dir="\$(libsubdir)/\$(libsubdir_to_prefix)$libstdcxx_incdir"
+ libstdcxx_incdir='c++/$(version)'
+ gcc_gxx_include_dir="\$(CROSS_SYSTEM_HEADER_DIR)/"${libstdcxx_incdir}
fi
fi
Loading…
Cancel
Save