Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target subdir of gcc_gxx_includ...
authorBenjamin Kosnik <bkoz@redhat.com>
Tue, 6 Feb 2001 06:36:08 +0000 (06:36 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Tue, 6 Feb 2001 06:36:08 +0000 (06:36 +0000)
2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>

* Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
subdir of gcc_gxx_include_dir.
(gcc_gxx_target_include_dir): Remove.

From-SVN: r39480

gcc/ChangeLog
gcc/Makefile.in

index a546132cf43e5f2c52793673a05f098661c4d0b9..547f50fad7d559123eabeec57a1b4b755034804d 100644 (file)
@@ -1,3 +1,9 @@
+2001-02-05  Benjamin Kosnik  <bkoz@redhat.com>
+
+       * Makefile.in (-DGPLUSPLUS_TOOL_INCLUDE_DIR): Change to target
+       subdir of gcc_gxx_include_dir.
+       (gcc_gxx_target_include_dir): Remove.
+
 2001-02-05  Jeffrey Oldham  <oldham@codesourcery.com>
 
        * dwarf2out.c: Revise DWARF2 Abbreviation Glossary comments.
index cc78c6cb0f281ce6a644011ed308febec5d538a7..0786f83afd10ef59a12ed4ae959502d4787fb67f 100644 (file)
@@ -318,8 +318,6 @@ slibdir = @slibdir@
 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 = $(libsubdir)/$(unlibsubdir)/..`echo $(exec_prefix) | sed -e 's|^$(prefix)||' -e 's|/[^/]*|/..|g'`/$(target_alias)/include/@libstdcxx_incdir@
 # Directory to search for site-specific includes.
 includedir = $(local_prefix)/include
 # assertdir is overridden in cross-make.
@@ -1910,7 +1908,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=\"$(gcc_gxx_target_include_dir)\" \
+  -DGPLUSPLUS_TOOL_INCLUDE_DIR=\"$(gcc_gxx_include_dir)/$(target_alias)\" \
   -DLOCAL_INCLUDE_DIR=\"$(includedir)\" \
   -DCROSS_INCLUDE_DIR=\"$(gcc_tooldir)/sys-include\" \
   -DTOOL_INCLUDE_DIR=\"$(gcc_tooldir)/include\"