1 1.1 mrg # Don't build libgcc.a with debug info 2 1.1 mrg LIBGCC2_DEBUG_CFLAGS = 3 1.1 mrg 4 1.7 mrg # We provide our own implementation for __clear_cache, using a 5 1.7 mrg # VxWorks specific entry point. 6 1.7 mrg LIB2FUNCS_EXCLUDE += _clear_cache 7 1.7 mrg 8 1.6 mrg # This ensures that the correct target headers are used; some VxWorks 9 1.6 mrg # system headers have names that collide with GCC's internal (host) 10 1.6 mrg # headers, e.g. regs.h. Make sure the local libgcc headers still 11 1.7 mrg # prevail (e.g. unwind.h), and that gcc provided header files intended 12 1.7 mrg # to be user visible eventually are visible as well. 13 1.6 mrg LIBGCC2_INCLUDES = -nostdinc -I. \ 14 1.9 mrg -I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \ 15 1.7 mrg -I$(MULTIBUILDTOP)../../gcc/include \ 16 1.9 mrg $(if $(findstring vxworks7, $(target_noncanonical)), \ 17 1.9 mrg -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h -I=/system -I=/public, \ 18 1.9 mrg -I=/ -I=/wrn/coreip) 19 1.9 mrg 20 1.9 mrg # Use these also for the vxcrstuff objects (.e.g for version.h), on top of 21 1.9 mrg # the options possibly already set specifically for the target: 22 1.9 mrg CRTSTUFF_T_CFLAGS += $(LIBGCC2_INCLUDES) 23