summaryrefslogtreecommitdiffstats
path: root/libgcc/config/t-vxworks
blob: 3647f75d572bcd1e2419e1c991e8133b73caecc2 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
# Don't build libgcc.a with debug info
LIBGCC2_DEBUG_CFLAGS =

# Extra libgcc2 modules used by gthr-vxworks.h functions
LIB2ADD = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c

# 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.
LIBGCC2_INCLUDES = -nostdinc -I \
  `case "/$$(MULTIDIR)" in \
     */mrtp*) echo $(WIND_USR)/h ;; \
     *) echo $(WIND_BASE)/target/h ;; \
   esac`
OpenPOWER on IntegriCloud