diff options
author | Richard Sandiford <richard@codesourcery.com> | 2007-03-02 12:37:31 +0000 |
---|---|---|
committer | Richard Sandiford <rsandifo@gcc.gnu.org> | 2007-03-02 12:37:31 +0000 |
commit | c3c9a5d23e79fd998f42a0948ed7d73cb731121b (patch) | |
tree | c5d0a9dd68e7c817542661671fa5aa8144abb0a5 /gcc | |
parent | 8691cea39683c5cf2494679ec0a6496055d70733 (diff) | |
download | gcc-c3c9a5d23e79fd998f42a0948ed7d73cb731121b.zip gcc-c3c9a5d23e79fd998f42a0948ed7d73cb731121b.tar.gz gcc-c3c9a5d23e79fd998f42a0948ed7d73cb731121b.tar.bz2 |
t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc.
gcc/
* config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc.
Use $MULTIDIR to choose between the kernel and RTP headers,
and use $WIND_BASE and $WIND_USR to locate them.
From-SVN: r122474
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 6 | ||||
-rw-r--r-- | gcc/config/t-vxworks | 7 |
2 files changed, 11 insertions, 2 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7b6870b..688ffd6 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2007-03-02 Richard Sandiford <richard@codesourcery.com> + + * config/t-vxworks (LIBGCC2_INCLUDES): Pass -nostdinc. + Use $MULTIDIR to choose between the kernel and RTP headers, + and use $WIND_BASE and $WIND_USR to locate them. + 2007-03-02 Uros Bizjak <ubizjak@gmail.com> Michael Meissner <michael.meissner@amd.com> diff --git a/gcc/config/t-vxworks b/gcc/config/t-vxworks index 9a6a6b0..f623503 100644 --- a/gcc/config/t-vxworks +++ b/gcc/config/t-vxworks @@ -21,8 +21,11 @@ EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h # This ensures that the correct target headers are used; some # VxWorks system headers have names that collide with GCC's # internal (host) headers, e.g. regs.h. -# FIXME: May not be necessary anymore. -LIBGCC2_INCLUDES="-I$(SYSTEM_HEADER_DIR)" +LIBGCC2_INCLUDES = -nostdinc -I \ + `case "/$$(MULTIDIR)" in \ + */mrtp*) echo $(WIND_USR)/h ;; \ + *) echo $(WIND_BASE)/target/h ;; \ + esac` EXTRA_MULTILIB_PARTS = |