From: Olivier Hainque Date: Fri, 19 Mar 2021 15:21:38 +0000 (+0000) Subject: target/99660 - missing VX_CPU_PREFIX for vxworksae X-Git-Tag: upstream/12.2.0~9216 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=eadb118e36f9295df0d5787c8a31424d05fde592;p=platform%2Fupstream%2Fgcc.git 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 gcc/ PR target/99660 * config/vxworksae.h (VX_CPU_PREFIX): Define. --- 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 \