summaryrefslogtreecommitdiff
path: root/gcc/cppdefault.c
diff options
context:
space:
mode:
authorjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-27 20:32:13 +0000
committerjsm28 <jsm28@138bc75d-0d04-0410-961f-82ee72b054a4>2007-02-27 20:32:13 +0000
commitd3036f42015f11fb5b884eb0dcc2815f3de6af20 (patch)
tree3e93aea7c703d1603d74187abbc272a37ad77597 /gcc/cppdefault.c
parent197f775164c11adb179c4dbb87e92cca17b2c1f7 (diff)
downloadgcc-d3036f42015f11fb5b884eb0dcc2815f3de6af20.tar.gz
fixincludes:
* mkheaders.in (incdir): Use include-fixed not include. gcc: * Makefile.in (PREPROCESSOR_DEFINES, test-protoize-simple): Define FIXED_INCLUDE_DIR. (stmp-int-hdrs, stmp-fixinc, install-headers): Use include-fixed for fixed headers and limits.h. (install-include-dir, install-headers-tar, install-headers-cpio, install-headers-cp, real-install-headers-tar, real-install-headers-cpio, real-install-headers-cp): Handle include-fixed as well as include. (install-mkheaders): Don't install files that go only in include not include-fixed. * cppdefault.c (cpp_include_defaults): Separate FIXED_INCLUDE_DIR from GCC_INCLUDE_DIR. * gcc.c (process_command): Remove special -BstageN/ handling. (do_spec_1): Add include-fixed directories. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@122384 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 dfea0b8d51b..afe358e1067 100644
--- a/gcc/cppdefault.c
+++ b/gcc/cppdefault.c
@@ -66,9 +66,13 @@ const struct default_include cpp_include_defaults[]
{ PREFIX_INCLUDE_DIR, 0, 0, 1, 0, 0 },
#endif
#ifdef GCC_INCLUDE_DIR
- /* This is the dir for fixincludes and for gcc's private headers. */
+ /* This is the dir for gcc's private headers. */
{ GCC_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
#endif
+#ifdef FIXED_INCLUDE_DIR
+ /* This is the dir for fixincludes. */
+ { FIXED_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },
+#endif
#ifdef CROSS_INCLUDE_DIR
/* One place the target system's headers might be. */
{ CROSS_INCLUDE_DIR, "GCC", 0, 0, 0, 0 },