From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id EEC743875A22; Mon, 25 Jul 2022 12:59:57 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org EEC743875A22 MIME-Version: 1.0 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset="utf-8" From: Sebastian Huber To: gcc-cvs@gcc.gnu.org Subject: [gcc r12-8616] RTEMS: Do not define _GNU_SOURCE by default X-Act-Checkin: gcc X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/releases/gcc-12 X-Git-Oldrev: 16ea82f0fc99b9c6b8afa8faa1e811e959729548 X-Git-Newrev: 0057fda05e26d182760967dbcdf32d1c538cdfab Message-Id: <20220725125957.EEC743875A22@sourceware.org> Date: Mon, 25 Jul 2022 12:59:57 +0000 (GMT) X-BeenThere: gcc-cvs@gcc.gnu.org X-Mailman-Version: 2.1.29 Precedence: list List-Id: Gcc-cvs mailing list List-Unsubscribe: , List-Archive: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 25 Jul 2022 12:59:58 -0000 https://gcc.gnu.org/g:0057fda05e26d182760967dbcdf32d1c538cdfab commit r12-8616-g0057fda05e26d182760967dbcdf32d1c538cdfab Author: Sebastian Huber 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 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