757cead6724a2f495f6174976e233b736da4783b
[gcc.git] / libgcc / config / t-vxworks
1 # Don't build libgcc.a with debug info
2 LIBGCC2_DEBUG_CFLAGS =
3
4 # We provide our own implementation for __clear_cache, using a
5 # VxWorks specific entry point.
6 LIB2FUNCS_EXCLUDE += _clear_cache
7 LIB2ADD += $(srcdir)/config/vxcache.c
8
9 # This ensures that the correct target headers are used; some VxWorks
10 # system headers have names that collide with GCC's internal (host)
11 # headers, e.g. regs.h. Make sure the local libgcc headers still
12 # prevail (e.g. unwind.h), and that gcc provided header files intended
13 # to be user visible eventually are visible as well.
14 LIBGCC2_INCLUDES = -nostdinc -I. \
15 -I$(MULTIBUILDTOP)../../gcc/include \
16 `case "/$(MULTIDIR)" in \
17 */mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \
18 *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \
19 esac`