public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r10-10914] RTEMS: Do not define _GNU_SOURCE by default
@ 2022-07-25 13:03 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-07-25 13:03 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:ea169d4d863a8273d4bd44b3dd472d6dfecdbd92
commit r10-10914-gea169d4d863a8273d4bd44b3dd472d6dfecdbd92
Author: Sebastian Huber <sebastian.huber@embedded-brains.de>
Date: Fri Jul 22 14:09:20 2022 +0200
RTEMS: Do not define _GNU_SOURCE by default
gcc/ChangeLog:
* config/rs6000/rtems.h (CPLUSPLUS_CPP_SPEC): Undef.
(cherry picked from commit 556b816b820f6749910784cbaca8bb0bb822a970)
Diff:
---
gcc/config/rs6000/rtems.h | 3 +++
1 file changed, 3 insertions(+)
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h
index 40db6606f17..bd9057914c8 100644
--- a/gcc/config/rs6000/rtems.h
+++ b/gcc/config/rs6000/rtems.h
@@ -23,6 +23,9 @@
see the files COPYING3 and COPYING.RUNTIME respectively. If not, see
<http://www.gnu.org/licenses/>. */
+/* Undef gnu-user.h macro we don't want. */
+#undef CPLUSPLUS_CPP_SPEC
+
/* Copy and paste from linux64.h and freebsd64.h */
#ifdef IN_LIBGCC2
#undef TARGET_64BIT
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2022-07-25 13:03 UTC | newest]
Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-07-25 13:03 [gcc r10-10914] RTEMS: Do not define _GNU_SOURCE by default Sebastian Huber
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).