4 # Build libgcc using the multilib mechanism
6 INSTALL_LIBGCC = install-multilib
8 # No special flags needed for libgcc.a
9 TARGET_LIBGCC2_CFLAGS =
11 # Don't build libgcc.a with debug info
12 LIBGCC2_DEBUG_CFLAGS =
14 # Extra libgcc2 modules used by gthr-vxworks.h functions
15 LIB2FUNCS_EXTRA = $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c
17 # Some runtime modules need these. Can't set extra_headers in config.gcc
18 # because the paths are always made absolute to the cpu config dir.
19 EXTRA_HEADERS += $(srcdir)/gthr-vxworks.h gthr-default.h
21 # This ensures that the correct target headers are used; some
22 # VxWorks system headers have names that collide with GCC's
23 # internal (host) headers, e.g. regs.h.
24 # FIXME: May not be necessary anymore.
25 LIBGCC2_INCLUDES="-I$(SYSTEM_HEADER_DIR)"
27 EXTRA_MULTILIB_PARTS =