diff mbox series

vxworks: Remove interfering default #undefs from vx-common.h

Message ID C142E057-E9D9-4730-A724-D3D465F61819@adacore.com
State New
Headers show
Series vxworks: Remove interfering default #undefs from vx-common.h | expand

Commit Message

Olivier Hainque Oct. 21, 2020, 3:10 p.m. UTC
This patch removes the #undef issued for LIB_SPEC and LINK_SPEC
in vx-common.h, which all the ports do on their own and which
impairs the bi-arch’d ppc*-vx7r2 targets, relying on linux64
definitions.

Tested together with the previous changes posted for the
newly introduced powerpc ports.

Committing to mainline shortly.

Olivier

2020-10-21  Douglas Rupp  <rupp@adacore.com>

gcc/
	* config/vx-common.h (LINK_SPEC, LIB_SPEC): Remove #undef.
diff mbox series

Patch

--- a/gcc/config/vx-common.h
+++ b/gcc/config/vx-common.h
@@ -23,8 +23,6 @@  along with GCC; see the file COPYING3.  If not see
 /* Most of these will probably be overridden by subsequent headers.  We
    undefine them here just in case, and define VXWORKS_ versions of each,
    to be used in port-specific vxworks.h.  */
-#undef LIB_SPEC
-#undef LINK_SPEC
 #undef LIBGCC_SPEC
 #define LIBGCC_SPEC VXWORKS_LIBGCC_SPEC
 #undef STARTFILE_SPEC