From: Alan Modra Date: Mon, 5 Aug 2019 01:52:33 +0000 (+0930) Subject: PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=89c78fb2e1d862f4efbc22583eeb852bf173a0ad;p=gcc.git PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE rev 266496 (git ab6b1bb456) undefined some macros in rs6000/freebsd.h but missed doing the same in rs6000/freebsd64.h. PR target/91349 * config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC), (LINK_GCC_C_SEQUENCE_SPEC): Undef. From-SVN: r274105 --- diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 769aa5b3234..4235f73f16f 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,9 @@ +2019-08-05 Alan Modra + + PR target/91349 + * config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC), + (LINK_GCC_C_SEQUENCE_SPEC): Undef. + 2019-08-04 Gerald Pfeifer * doc/install.texi (Prerequisites): Remove reference to Tcl 8.6 diff --git a/gcc/config/rs6000/freebsd64.h b/gcc/config/rs6000/freebsd64.h index 4951275c963..9367a6e40f3 100644 --- a/gcc/config/rs6000/freebsd64.h +++ b/gcc/config/rs6000/freebsd64.h @@ -17,6 +17,10 @@ along with GCC; see the file COPYING3. If not see . */ +/* Undef gnu-user.h macros we don't want. */ +#undef CPLUSPLUS_CPP_SPEC +#undef LINK_GCC_C_SEQUENCE_SPEC + /* Override the defaults, which exist to force the proper definition. */ #ifdef IN_LIBGCC2