1*4c3eb207Smrg# Don't build libgcc.a with debug info 2*4c3eb207SmrgLIBGCC2_DEBUG_CFLAGS = 3*4c3eb207Smrg 4*4c3eb207Smrg# We do not have access to the cache library when building a vThreads 5*4c3eb207Smrg# application. 6*4c3eb207Smrg 7*4c3eb207Smrg# This ensures that the correct target headers are used; some VxWorks 8*4c3eb207Smrg# system headers have names that collide with GCC's internal (host) 9*4c3eb207Smrg# headers, e.g. regs.h. Make sure the local libgcc headers still 10*4c3eb207Smrg# prevail (e.g. unwind.h), and that gcc provided header files intended 11*4c3eb207Smrg# to be user visible eventually are visible as well. 12*4c3eb207SmrgLIBGCC2_INCLUDES = -nostdinc -I. \ 13*4c3eb207Smrg -I$(MULTIBUILDTOP)../../gcc/include \ 14*4c3eb207Smrg `case "/$(MULTIDIR)" in \ 15*4c3eb207Smrg */mvthreads*) echo -I$(WIND_BASE)/target/vThreads/h -I$(WIND_BASE)/target/val/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \ 16*4c3eb207Smrg *) echo -I$(WIND_BASE)/target/h -I$(WIND_BASE)/target/h/wrn/coreip ;; \ 17*4c3eb207Smrg esac` 18