aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2020-03-05 15:05:43 +0000
committerOlivier Hainque <hainque@adacore.com>2020-10-14 17:38:37 +0000
commite4b887cb7652f5749cbd3a6ac8327cf308c70aba (patch)
tree5eaa6aca676d13a080e28018e00d5167a3ce0ae2
parentb3f1fef1f0b34e4624834e238c5ff56a0c073d93 (diff)
downloadgcc-e4b887cb7652f5749cbd3a6ac8327cf308c70aba.zip
gcc-e4b887cb7652f5749cbd3a6ac8327cf308c70aba.tar.gz
gcc-e4b887cb7652f5749cbd3a6ac8327cf308c70aba.tar.bz2
Add include-fixed to include search paths for libgcc on VxWorks
The special vxworks rules for the compilation of libgcc had -I.../gcc/include and not .../gcc/include-fixed, causing build failure of our arm-vxworks7r2 port because of indirect dependencies on limits.h. The omission was just an oversight and this change just adds the missing -I. 2020-10-14 Olivier Hainque <hainque@adacore.com> libgcc/ * config/t-vxworks: Add include-fixed to include search paths for libgcc on VxWorks. * config/t-vxworks7: Likewise.
-rw-r--r--libgcc/config/t-vxworks1
-rw-r--r--libgcc/config/t-vxworks71
2 files changed, 2 insertions, 0 deletions
diff --git a/libgcc/config/t-vxworks b/libgcc/config/t-vxworks
index 757cead..e1f1e93 100644
--- a/libgcc/config/t-vxworks
+++ b/libgcc/config/t-vxworks
@@ -12,6 +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 \
`case "/$(MULTIDIR)" in \
*/mrtp*) echo -I$(WIND_USR)/h -I$(WIND_USR)/h/wrn/coreip ;; \
diff --git a/libgcc/config/t-vxworks7 b/libgcc/config/t-vxworks7
index f2cc904..75f6cb4 100644
--- a/libgcc/config/t-vxworks7
+++ b/libgcc/config/t-vxworks7
@@ -12,6 +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$(VSB_DIR)/h -I$(VSB_DIR)/share/h \
-I$(MULTIBUILDTOP)../../gcc/include \
`case "/$(MULTIDIR)" in \