RTEMS: Do not define _GNU_SOURCE by default

gcc/ChangeLog:

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

(cherry picked from commit 556b816b82)
This commit is contained in:
Sebastian Huber 2022-07-22 14:09:20 +02:00
parent 85c14be404
commit ea169d4d86
1 changed files with 3 additions and 0 deletions

View 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