diff mbox series

PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE

Message ID 20190805015520.GO27255@bubble.grove.modra.org
State New
Headers show
Series PR91349, powerpc64*-*-freebsd* defines _GNU_SOURCE | expand

Commit Message

Alan Modra Aug. 5, 2019, 1:55 a.m. UTC
rev 266496 (git ab6b1bb456) undefined some macros in rs6000/freebsd.h
but missed doing the same in rs6000/freebsd64.h.  Fixed by making the
obvious (and preapproved) patch.

	PR target/91349
	* config/rs6000/freebsd64.h (CPLUSPLUS_CPP_SPEC),
	(LINK_GCC_C_SEQUENCE_SPEC): Undef.
diff mbox series

Patch

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
    <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