Retro68/gcc/libgcc/config/t-vxworks

23 lines
939 B
Plaintext
Raw Normal View History

2012-03-27 23:13:14 +00:00
# Don't build libgcc.a with debug info
LIBGCC2_DEBUG_CFLAGS =
2019-06-02 15:48:37 +00:00
# We provide our own implementation for __clear_cache, using a
# VxWorks specific entry point.
LIB2FUNCS_EXCLUDE += _clear_cache
LIB2ADD += $(srcdir)/config/vxcache.c
2012-03-27 23:13:14 +00:00
# Extra libgcc2 modules used by gthr-vxworks.h functions
2018-12-28 15:30:48 +00:00
LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
2012-03-27 23:13:14 +00:00
2018-12-28 15:30:48 +00:00
# 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
2019-06-02 15:48:37 +00:00
# prevail (e.g. unwind.h), and that gcc provided header files intended
# to be user visible eventually are visible as well.
2018-12-28 15:30:48 +00:00
LIBGCC2_INCLUDES = -nostdinc -I. \
2019-06-02 15:48:37 +00:00
-I$(MULTIBUILDTOP)../../gcc/include \
2018-12-28 15:30:48 +00:00
`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 ;; \
2012-03-27 23:13:14 +00:00
esac`