1# Don't build libgcc.a with debug info
2LIBGCC2_DEBUG_CFLAGS =
3
4# Extra libgcc2 modules used by gthr-vxworks.h functions
5LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
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).
11LIBGCC2_INCLUDES = -nostdinc -I. \
12  `case "/$(MULTIDIR)" in \
13     */mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \
14     *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \
15   esac`
16