Commit c3c9a5d2 by Richard Sandiford Committed by Richard Sandiford

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
parent 8691cea3
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>
......
......@@ -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 =
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment