From 89c78fb2e1d862f4efbc22583eeb852bf173a0ad Mon Sep 17 00:00:00 2001 From: Alan Modra Date: Mon, 5 Aug 2019 11:22:33 +0930 Subject: [PATCH] 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 --- gcc/ChangeLog | 6 ++++++ gcc/config/rs6000/freebsd64.h | 4 ++++ 2 files changed, 10 insertions(+) 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 -- 2.30.2