From: Sebastian Huber Date: Fri, 22 Jul 2022 12:09:20 +0000 (+0200) Subject: RTEMS: Do not define _GNU_SOURCE by default X-Git-Tag: basepoints/gcc-14~5384 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=556b816b820f6749910784cbaca8bb0bb822a970;p=thirdparty%2Fgcc.git RTEMS: Do not define _GNU_SOURCE by default gcc/ChangeLog: * config/rs6000/rtems.h (CPLUSPLUS_CPP_SPEC): Undef. --- diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index 8aa41d5448d..d529e22f7de 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 . */ +/* 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