From: Olivier Hainque Date: Thu, 7 Jun 2018 13:31:24 +0000 (+0000) Subject: t-vxworks (LIBGCC_INCLUDES): Add -I$(MULTIBUILDTOP)../../gcc/include. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=fb9970973a494f83270781242a9bb515fef99fb4;p=gcc.git t-vxworks (LIBGCC_INCLUDES): Add -I$(MULTIBUILDTOP)../../gcc/include. 2018-06-07 Olivier Hainque * config/t-vxworks (LIBGCC_INCLUDES): Add -I$(MULTIBUILDTOP)../../gcc/include. * config/t-vxworks7: Likewise. Reformat a bit to match the t-vxworks layout. From-SVN: r261273 --- diff --git a/libgcc/ChangeLog b/libgcc/ChangeLog index 575db684f4e..fc24d8e228c 100644 --- a/libgcc/ChangeLog +++ b/libgcc/ChangeLog @@ -1,3 +1,10 @@ +2018-06-07 Olivier Hainque + + * config/t-vxworks (LIBGCC_INCLUDES): Add + -I$(MULTIBUILDTOP)../../gcc/include. + * config/t-vxworks7: Likewise. Reformat a bit to match + the t-vxworks layout. + 2018-06-07 Olga Makhotina * config/i386/cpuinfo.h (processor_types): Add INTEL_TREMONT. diff --git a/libgcc/config/t-vxworks b/libgcc/config/t-vxworks index bbbb16deede..df70feecef3 100644 --- a/libgcc/config/t-vxworks +++ b/libgcc/config/t-vxworks @@ -7,8 +7,10 @@ LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c # 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 -# prevail (e.g. unwind.h). +# prevail (e.g. unwind.h), and that gcc provided header files intended +# to be user visible eventually are visible as well. LIBGCC2_INCLUDES = -nostdinc -I. \ + -I$(MULTIBUILDTOP)../../gcc/include \ `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 ;; \ diff --git a/libgcc/config/t-vxworks7 b/libgcc/config/t-vxworks7 index ae1dff9ccbd..f0293feb472 100644 --- a/libgcc/config/t-vxworks7 +++ b/libgcc/config/t-vxworks7 @@ -7,9 +7,11 @@ LIB2ADDEH += $(srcdir)/config/vxlib.c $(srcdir)/config/vxlib-tls.c # 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 -# prevail (e.g. unwind.h). -LIBGCC2_INCLUDES = -nostdinc \ - -I. -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \ +# prevail (e.g. unwind.h), and that gcc provided header files intended +# to be user visible eventually are visible as well. +LIBGCC2_INCLUDES = -nostdinc -I. \ + -I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \ + -I$(MULTIBUILDTOP)../../gcc/include \ `case "/$(MULTIDIR)" in \ */mrtp*) echo -I$(VSB_DIR)/usr/h/public -I$(VSB_DIR)/usr/h ;; \ *) echo -I$(VSB_DIR)/krnl/h/system -I$(VSB_DIR)/krnl/h/public ;; \