aboutsummaryrefslogtreecommitdiff
path: root/gcc
diff options
context:
space:
mode:
authorOlivier Hainque <hainque@adacore.com>2021-03-19 15:21:38 +0000
committerOlivier Hainque <hainque@adacore.com>2021-03-19 16:16:39 +0000
commiteadb118e36f9295df0d5787c8a31424d05fde592 (patch)
treea433f96e5dd0a27be6b6b230fdb48eeb8ef34b03 /gcc
parent22d1a90a1526a77585333bd6c7d9bfc1a9cbdffa (diff)
downloadgcc-eadb118e36f9295df0d5787c8a31424d05fde592.zip
gcc-eadb118e36f9295df0d5787c8a31424d05fde592.tar.gz
gcc-eadb118e36f9295df0d5787c8a31424d05fde592.tar.bz2
target/99660 - missing VX_CPU_PREFIX for vxworksae
This fixes an oversight which causes make all-gcc to fail for --target=*vxworksae or vxworksmils, a regression introduced by the recent VxWorks7 related updates. Both AE and MILS variants resort to a common config/vxworksae.h, which misses a definition of VX_CPU_PREFIX expected by port specific headers. The change just provides the missing definition. 2021-03-19 Olivier Hainque <hainque@adacore.com> gcc/ PR target/99660 * config/vxworksae.h (VX_CPU_PREFIX): Define.
Diffstat (limited to 'gcc')
-rw-r--r--gcc/config/vxworksae.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/gcc/config/vxworksae.h b/gcc/config/vxworksae.h
index 0f9b553..86d1923 100644
--- a/gcc/config/vxworksae.h
+++ b/gcc/config/vxworksae.h
@@ -64,6 +64,10 @@ along with GCC; see the file COPYING3. If not see
/* Both kernels and RTPs have the facilities required by this macro. */
#define TARGET_POSIX_IO
+/* The AE/653 system headers all predate the introduction of _VX_ prefixes
+ ahead of CPU families of macros. */
+#define VX_CPU_PREFIX ""
+
/* A VxWorks 653 implementation of TARGET_OS_CPP_BUILTINS. */
#define VXWORKS_OS_CPP_BUILTINS() \
do \