]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
RTEMS: Do not define _GNU_SOURCE by default
authorSebastian Huber <sebastian.huber@embedded-brains.de>
Fri, 22 Jul 2022 12:09:20 +0000 (14:09 +0200)
committerSebastian Huber <sebastian.huber@embedded-brains.de>
Mon, 25 Jul 2022 13:02:49 +0000 (15:02 +0200)
gcc/ChangeLog:

* config/rs6000/rtems.h (CPLUSPLUS_CPP_SPEC): Undef.

(cherry picked from commit 556b816b820f6749910784cbaca8bb0bb822a970)

gcc/config/rs6000/rtems.h

index 40db6606f17f0deddb2cc19bbdd78745453f915d..bd9057914c873eae70677130da603cd5154e436d 100644 (file)
@@ -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