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