mirror of git://gcc.gnu.org/git/gcc.git
Replace VSB_DIR by sysroot refs in VxWorks LIBGCC2_INCLUDES
This matches what VXWORKS_ADDITIONAL_CPP_SPEC does, allowing libgcc to build without VSB_DIR defined in the environment as soon as the configure switches featured a proper --with-build-sysroot was provided. Tested with a successful build for --target=powerpc-wrs-vxworks7r2 using mainline sources. 2025-10-23 Olivier Hainque <hainque@adacore.com> libgcc/ * config/t-vxworks (LIBGCC2_INCLUDES): Replace $(VSB_DIR) by sysroot references.
This commit is contained in:
parent
ffdee87ac4
commit
bc8abe881e
|
|
@ -32,7 +32,7 @@ LIB2FUNCS_EXCLUDE += _clear_cache
|
|||
|
||||
LIBGCC2_INCLUDES = -nostdinc -include vxworks-predef.h -I. \
|
||||
$(if $(findstring vxworks7, $(target_noncanonical)), \
|
||||
-I$(VSB_DIR)/h -I$(VSB_DIR)/share/h -I=/system -I=/public, \
|
||||
-I=/../../h -I=/../../share/h -I=/system -I=/public, \
|
||||
-I=/ -I=/wrn/coreip) \
|
||||
-isystem $(MULTIBUILDTOP)../../gcc/include-fixed$(MULTISUBDIR) \
|
||||
-isystem $(MULTIBUILDTOP)../../gcc/include
|
||||
|
|
|
|||
Loading…
Reference in New Issue