summaryrefslogtreecommitdiff
path: root/libgcc/config/t-vxworks
blob: 5f7ced8b5615004be933b3bedfc76e0247971729 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Don't build libgcc.a with debug info
LIBGCC2_DEBUG_CFLAGS =

# We provide our own implementation for __clear_cache, using a
# VxWorks specific entry point.
LIB2FUNCS_EXCLUDE += _clear_cache

# 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. Make sure the local libgcc headers still
# prevail (e.g. unwind.h), and that gcc provided header files intended
# to be user visible eventually are visible as well.
LIBGCC2_INCLUDES = -nostdinc -I. \
  -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
  -I$(MULTIBUILDTOP)../../gcc/include \
  `case "/$(MULTIDIR)" in \
     */mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \
     *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \
   esac`

CRTSTUFF_T_CFLAGS = $(LIBGCC2_INCLUDES)