]> 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 12:59:16 +0000 (14:59 +0200)
gcc/ChangeLog:

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

(cherry picked from commit 556b816b820f6749910784cbaca8bb0bb822a970)

gcc/config/rs6000/rtems.h

index 8aa41d5448dca8f5fa0c9a0dddca36fee28a6e9a..d529e22f7def22445ba4d7eef0f4540659985e59 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