xref: /netbsd-src/external/gpl3/gcc.old/dist/libgcc/config/t-vxworksae (revision 4c3eb207d36f67d31994830c0a694161fc1ca39b)
1# Don't build libgcc.a with debug info
2LIBGCC2_DEBUG_CFLAGS =
3
4# We do not have access to the cache library when building a vThreads
5# application.
6
7# This ensures that the correct target headers are used; some VxWorks
8# system headers have names that collide with GCC's internal (host)
9# headers, e.g. regs.h. Make sure the local libgcc headers still
10# prevail (e.g. unwind.h), and that gcc provided header files intended
11# to be user visible eventually are visible as well.
12LIBGCC2_INCLUDES = -nostdinc -I. \
13  -I$(MULTIBUILDTOP)../../gcc/include \
14  `case "/$(MULTIDIR)" in \
15     */mvthreads*) echo -I$(WIND_BASE)/target/vThreads/h -I$(WIND_BASE)/target/val/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \
16     *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \
17   esac`
18