aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRichard Stallman <rms@gnu.org>1993-05-21 23:14:00 +0000
committerRichard Stallman <rms@gnu.org>1993-05-21 23:14:00 +0000
commitceaff0a861fbfc383d6df32aa2b40311424d8182 (patch)
tree113c073bf61e0178ebdda0847d40f2d2dc18cb82
parentafb817fddaff11a0f520bbb69c5f09e1ee0aac03 (diff)
downloadgcc-ceaff0a861fbfc383d6df32aa2b40311424d8182.zip
gcc-ceaff0a861fbfc383d6df32aa2b40311424d8182.tar.gz
gcc-ceaff0a861fbfc383d6df32aa2b40311424d8182.tar.bz2
(default_include): Put TOOL_INCLUDE_DIR after
LOCAL_INCLUDE_DIR in non-cross case. From-SVN: r4534
-rw-r--r--gcc/cccp.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/gcc/cccp.c b/gcc/cccp.c
index 48e3bf4..896a587 100644
--- a/gcc/cccp.c
+++ b/gcc/cccp.c
@@ -559,12 +559,12 @@ static struct default_include { char *fname; int cplusplus; } include_defaults_a
/* This is another place that the target system's headers might be. */
{ TOOL_INCLUDE_DIR, 0},
#else /* not CROSS_COMPILE */
- /* Until we are really clear on what people will use this dir for
- in a native compiler, it's not clear where in the order it belongs. */
- { TOOL_INCLUDE_DIR, 0},
/* This should be /use/local/include and should come before
the fixincludes-fixed header files. */
{ LOCAL_INCLUDE_DIR, 0},
+ /* This is here ahead of GCC_INCLUDE_DIR because assert.h goes here.
+ Likewise, behind LOCAL_INCLUDE_DIR, where glibc puts its assert.h. */
+ { TOOL_INCLUDE_DIR, 0},
/* This is the dir for fixincludes. Put it just before
the files that we fix. */
{ GCC_INCLUDE_DIR, 0},