PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE
authorAlan Modra <amodra@gmail.com>
Mon, 5 Aug 2019 01:52:33 +0000 (11:22 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 5 Aug 2019 01:52:33 +0000 (11:22 +0930)
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
gcc/config/rs6000/freebsd64.h

index 769aa5b..4235f73 100644 (file)
@@ -1,3 +1,9 @@
+2019-08-05  Alan Modra  <amodra@gmail.com>
+
+       PR target/91349
+       * config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC),
+       (LINK_GCC_C_SEQUENCE_SPEC): Undef.
+
 2019-08-04  Gerald Pfeifer  <gerald@pfeifer.com>
 
        * doc/install.texi (Prerequisites): Remove reference to Tcl 8.6
index 4951275..9367a6e 100644 (file)
    along with GCC; see the file COPYING3.  If not see
    <http://www.gnu.org/licenses/>.  */
 
+/* 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