From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 56F85385AE5E; Mon, 25 Jul 2022 13:03:29 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 56F85385AE5E 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 r10-10914] RTEMS: Do not define _GNU_SOURCE by default X-Act-Checkin: gcc X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/releases/gcc-10 X-Git-Oldrev: 85c14be4041b017cbb807923ad81d39a6aadb0ab X-Git-Newrev: ea169d4d863a8273d4bd44b3dd472d6dfecdbd92 Message-Id: <20220725130329.56F85385AE5E@sourceware.org> Date: Mon, 25 Jul 2022 13:03:29 +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 13:03:29 -0000 https://gcc.gnu.org/g:ea169d4d863a8273d4bd44b3dd472d6dfecdbd92 commit r10-10914-gea169d4d863a8273d4bd44b3dd472d6dfecdbd92 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 40db6606f17..bd9057914c8 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