Honor $(MULTISUBDIR) in -I directives for libgcc on VxWorks
This is useful to handle ports where we might arrange to use different sets of fixed headers for different multilibs, typically for kernel vs rtp modes. 2020-10-14 Olivier Hainque <hainque@adacore.com> libgcc/ * config/t-vxworks (LIBGCC2_INCLUDES): Append $(MULTISUBDIR) to the -I path for fixed headers, as we arrange to have different sets of such headers for different multilibs when they are activated. * config/t-vxworks7: Likewise.
This commit is contained in:
parent
e4b887cb76
commit
69d6b3f650
|
@ -12,7 +12,7 @@ LIB2ADD += $(srcdir)/config/vxcache.c
|
|||
# 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-fixed \
|
||||
-I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
|
||||
-I$(MULTIBUILDTOP)../../gcc/include \
|
||||
`case "/$(MULTIDIR)" in \
|
||||
*/mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \
|
||||
|
|
|
@ -12,7 +12,7 @@ LIB2ADD += $(srcdir)/config/vxcache.c
|
|||
# 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-fixed \
|
||||
-I$(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
|
||||
-I$(VSB_DIR)/h -I$(VSB_DIR)/share/h \
|
||||
-I$(MULTIBUILDTOP)../../gcc/include \
|
||||
`case "/$(MULTIDIR)" in \
|
||||
|
|
Loading…
Reference in New Issue