diff options
author | Joseph Myers <joseph@codesourcery.com> | 2007-02-27 20:32:13 +0000 |
---|---|---|
committer | Joseph Myers <jsm28@gcc.gnu.org> | 2007-02-27 20:32:13 +0000 |
commit | f686ec0522f54254bd604ac9fc751f0b1f906150 (patch) | |
tree | 3e93aea7c703d1603d74187abbc272a37ad77597 /gcc/cppdefault.c | |
parent | f4e39278b3325b745acf5d70eb2c7800544dd87f (diff) | |
download | gcc-f686ec0522f54254bd604ac9fc751f0b1f906150.zip gcc-f686ec0522f54254bd604ac9fc751f0b1f906150.tar.gz gcc-f686ec0522f54254bd604ac9fc751f0b1f906150.tar.bz2 |
mkheaders.in (incdir): Use include-fixed not include.
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.
From-SVN: r122384
Diffstat (limited to 'gcc/cppdefault.c')
-rw-r--r-- | gcc/cppdefault.c | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/gcc/cppdefault.c b/gcc/cppdefault.c index dfea0b8..afe358e 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 }, |