Makefile.in (gcc_gxx_target_include_dir): Use instead of build_tooldir and libstdcxx_...
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 21 Dec 2000 07:19:41 +0000 (07:19 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 21 Dec 2000 07:19:41 +0000 (07:19 +0000)
2000-12-20  Benjamin Kosnik  <bkoz@redhat.com>

* Makefile.in (gcc_gxx_target_include_dir): Use instead of
build_tooldir and libstdcxx_incdir.

From-SVN: r38412

gcc/ChangeLog
gcc/Makefile.in

index ce228cf2a831be839d0c868882e51fc437811187..678e2c8eeb22f456b84e02c5b74d8838ae309391 100644 (file)
@@ -1,3 +1,8 @@
+2000-12-20  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * Makefile.in (gcc_gxx_target_include_dir): Use instead of
+       build_tooldir and libstdcxx_incdir.
+
 2000-12-20  Robert Lipe <robertlipe@usa.net>
 
        * haifa-sched.c (schedule_block): Provide empty source statement
index 1f6e9252d6c8f829826594ea1e2d3f5cc207476d..fec7c1558e7882829fbf9b565036dcb195037d9f 100644 (file)
@@ -316,8 +316,8 @@ gcc_tooldir = @gcc_tooldir@
 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 where the compiler finds target-dependent files.
-libstdcxx_incdir = @libstdcxx_incdir@
+# Directory in which the compiler finds target-dependent g++ includes.
+gcc_gxx_target_include_dir = $(build_tooldir)/include/@libstdcxx_incdir@
 # Directory to search for site-specific includes.
 includedir = $(local_prefix)/include
 # assertdir is overridden in cross-make.
@@ -1871,7 +1871,7 @@ intl.all intl.install intl.uninstall \
 PREPROCESSOR_DEFINES = \
   -DGCC_INCLUDE_DIR=\"$(libsubdir)/include\" \
   -DGPLUSPLUS_INCLUDE_DIR=\"$(gcc_gxx_include_dir)\" \
-  -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(build_tooldir)/include/$(libstdcxx_incdir)\" \
+  -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_target_include_dir)\" \
   -DLOCAL_INCLUDE_DIR=\"$(includedir)\" \
   -DCROSS_INCLUDE_DIR=\"$(gcc_tooldir)/sys-include\" \
   -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\"