diff options
author | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-22 14:09:20 +0200 |
---|---|---|
committer | Sebastian Huber <sebastian.huber@embedded-brains.de> | 2022-07-25 14:57:06 +0200 |
commit | 556b816b820f6749910784cbaca8bb0bb822a970 (patch) | |
tree | 694624bf9cff0708eddd91aa3bc08b28fd15bdad /gcc | |
parent | 613e3b86955ea3b4977490625328708e82bea6fa (diff) | |
download | gcc-556b816b820f6749910784cbaca8bb0bb822a970.zip gcc-556b816b820f6749910784cbaca8bb0bb822a970.tar.gz gcc-556b816b820f6749910784cbaca8bb0bb822a970.tar.bz2 |
RTEMS: Do not define _GNU_SOURCE by default
gcc/ChangeLog:
* config/rs6000/rtems.h (CPLUSPLUS_CPP_SPEC): Undef.
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/config/rs6000/rtems.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/gcc/config/rs6000/rtems.h b/gcc/config/rs6000/rtems.h index 8aa41d5..d529e22 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 <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 |