From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: by sourceware.org (Postfix, from userid 1921) id 592A43875A21; Mon, 25 Jul 2022 13:01:48 +0000 (GMT) DKIM-Filter: OpenDKIM Filter v2.11.0 sourceware.org 592A43875A21 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 r11-10174] RTEMS: Do not define _GNU_SOURCE by default X-Act-Checkin: gcc X-Git-Author: Sebastian Huber X-Git-Refname: refs/heads/releases/gcc-11 X-Git-Oldrev: 02cae430dff5768c34d85080dfd139a1eb676572 X-Git-Newrev: 750324e5320a3065175aed6a1b64afc8a342e79f Message-Id: <20220725130148.592A43875A21@sourceware.org> Date: Mon, 25 Jul 2022 13:01:48 +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:01:48 -0000 https://gcc.gnu.org/g:750324e5320a3065175aed6a1b64afc8a342e79f commit r11-10174-g750324e5320a3065175aed6a1b64afc8a342e79f 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 872cc2849af..bd2271f94b9 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