From: Douglas Rupp Date: Mon, 2 Dec 2019 17:17:18 +0000 (-0800) Subject: Remove interfering default #undefs from vx-common.h X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=6bd2f2d080c52b73edac7dcb9fa9dcb58e6170bb;p=gcc.git Remove interfering default #undefs from vx-common.h undef'ing LIB_SPEC and especially LINK_SPEC here is unneccesary and inteferes with the definition of LINK_SPEC for the bi-arch'd ppc*-vx7r2 target which uses the linux64 LINK_SPEC 2020-10-21 Douglas Rupp gcc/ * config/vx-common.h (LINK_SPEC, LIB_SPEC): Remove #undef. --- diff --git a/gcc/config/vx-common.h b/gcc/config/vx-common.h index f4a1ffdfb40..9cd7b3d3615 100644 --- 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