summaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 18:12:45 +0000
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>2000-12-18 18:12:45 +0000
commite23b9583f9b56513ea7158f85c9f325756819ee9 (patch)
tree33323eacc183eb5848f18071daed3d2f44a16b5d /gcc/cppdefault.c
parentac20ef2ce143025bba5faa4b1387ed8073d42ed2 (diff)
downloadgcc-e23b9583f9b56513ea7158f85c9f325756819ee9.tar.gz
2000-12-18 Benjamin Kosnik <bkoz@redhat.com>
* configure.in (gcc_gxx_include_dir): Simplify. (libstdcxx_incdir): Export. * configure: Regenerate. * Makefile.in (PREPROCESSOR_DEFINES): Add in GPLUSPLUS_TOOL_INCLUDE_DIR bits here.. (libstdcxx_incdir): Add. * cppdefault.c (GPLUSPLUS_TOOL_INCLUDE_DIR): Add search path. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@38356 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/cppdefault.c')
-rw-r--r--gcc/cppdefault.c6
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c
index 7a4ec0c107f..a51b05a7c57 100644
--- a/gcc/cppdefault.c
+++ b/gcc/cppdefault.c
@@ -32,9 +32,13 @@ const struct default_include cpp_include_defaults[]
#else
= {
#ifdef GPLUSPLUS_INCLUDE_DIR
- /* Pick up GNU C++ specific include files. */
+ /* Pick up GNU C++ generic include files. */
{ GPLUSPLUS_INCLUDE_DIR, "G++", 1, 1 },
#endif
+#ifdef GPLUSPLUS_TOOL_INCLUDE_DIR
+ /* Pick up GNU C++ target-dependent include files. */
+ { GPLUSPLUS_TOOL_INCLUDE_DIR, "G++", 1, 1 },
+#endif
#ifdef LOCAL_INCLUDE_DIR
/* /usr/local/include comes before the fixincluded header files. */
{ LOCAL_INCLUDE_DIR, 0, 0, 1 },