Makefile.in (gcc_gxx_target_include_dir): Generate dynamically as for gcc_gxx_include...
authorAlex Samuel <samuel@codesourcery.com>
Fri, 2 Feb 2001 19:41:36 +0000 (19:41 +0000)
committerAlex Samuel <samuel@gcc.gnu.org>
Fri, 2 Feb 2001 19:41:36 +0000 (19:41 +0000)
* Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
as for gcc_gxx_include_dir.

From-SVN: r39415

gcc/ChangeLog
gcc/Makefile.in

index 9c80dcd26658b1be2cd6e6599278e20d5eb0b889..3c0e68749eaee0c2ee34974577ffedd34604d30a 100644 (file)
@@ -1,3 +1,8 @@
+2001-02-02  Alex Samuel  <samuel@codesourcery.com>
+
+       * Makefile.in (gcc_gxx_target_include_dir): Generate dynamically
+       as for gcc_gxx_include_dir.
+
 2001-02-02  Neil Booth  <neil@daikokuya.demon.co.uk>
 
        * cpp.texi, invoke.texi: Update -Wtraditional documentation.
index d3116493a051cba94add31117d4b3da46a1d403d..17255c79b18bb8807704673adaed35de72b5b3b3 100644 (file)
@@ -319,7 +319,7 @@ build_tooldir = $(exec_prefix)/$(target_alias)
 # Directory in which the compiler finds target-independent g++ includes.
 gcc_gxx_include_dir = @gcc_gxx_include_dir@
 # Directory in which the compiler finds target-dependent g++ includes.
-gcc_gxx_target_include_dir = $(build_tooldir)/include/@libstdcxx_incdir@
+gcc_gxx_target_include_dir = $(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/$(target)/include/@libstdcxx_incdir@
 # Directory to search for site-specific includes.
 includedir = $(local_prefix)/include
 # assertdir is overridden in cross-make.