]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE
authorAlan Modra <amodra@gmail.com>
Mon, 5 Aug 2019 01:53:31 +0000 (11:23 +0930)
committerAlan Modra <amodra@gcc.gnu.org>
Mon, 5 Aug 2019 01:53:31 +0000 (11:23 +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: r274106

gcc/ChangeLog
gcc/config/rs6000/freebsd64.h

index 1869bb97134149378fda145c22b86205183da776..adfb36f471f050ff35dc57b3f021191130c94559 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  Segher Boessenkool  <segher@kernel.crashing.org>
 
        Backport from trunk
index 7e819d102f982b4363cc1a6f07ed7635702a8c86..98b1cfd50dc6c82b3511d9f646e88d207b4a22b9 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