public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r11-10174] RTEMS: Do not define _GNU_SOURCE by default
@ 2022-07-25 13:01 Sebastian Huber
0 siblings, 0 replies; only message in thread
From: Sebastian Huber @ 2022-07-25 13:01 UTC (permalink / raw)
To: gcc-cvs
https://gcc.gnu.org/g:750324e5320a3065175aed6a1b64afc8a342e79f
commit r11-10174-g750324e5320a3065175aed6a1b64afc8a342e79f
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 872cc2849af..bd2271f94b9 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:01 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:01 [gcc r11-10174] 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).