aboutsummaryrefslogtreecommitdiff
path: root/libgcc/config/t-vxworks7
blob: 77591cd642c17ac7d57b80496aebb42c7fb884cf (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
# Don't build libgcc.a with debug info
LIBGCC2_DEBUG_CFLAGS =

# Extra libgcc2 modules used by gthr-vxworks.h functions
LIB2ADDEH += $(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$(VSB_DIR)/h -I$(VSB_DIR)/share/h \
  `case "/$(MULTIDIR)" in \
      */mrtp*) echo -I$(VSB_DIR)/usr/h/public -I$(VSB_DIR)/usr/h ;; \
      *) echo -I$(VSB_DIR)/krnl/h/system -I$(VSB_DIR)/krnl/h/public ;; \
   esac`