diff options
author | David Edelsohn <dje.gcc@gmail.com> | 2022-01-25 10:18:28 -0500 |
---|---|---|
committer | David Edelsohn <dje.gcc@gmail.com> | 2022-01-25 10:29:21 -0500 |
commit | 9099e0bc6667ba319f4b794a5a98a364e7f9aef9 (patch) | |
tree | 652c4e3b5b32a56943382d7e12638e9ce39c2c38 | |
parent | 480caa1f4ab1f138435239d67ffe3126c5e27b2b (diff) | |
download | gcc-9099e0bc6667ba319f4b794a5a98a364e7f9aef9.zip gcc-9099e0bc6667ba319f4b794a5a98a364e7f9aef9.tar.gz gcc-9099e0bc6667ba319f4b794a5a98a364e7f9aef9.tar.bz2 |
aix: AIX is not GLIBC.
A recent patch added tests for OPTION_GLIBC that is defined in
linux.h and linux64.h. This broke bootstrap for non-Linux rs6000
configurations. This patch defines OPTION_GLIBC as 0.
* config/rs6000/aix.h (OPTION_GLIBC): Define as 0.
-rw-r--r-- | gcc/config/rs6000/aix.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h index ad3238b..eb7a0c0 100644 --- a/gcc/config/rs6000/aix.h +++ b/gcc/config/rs6000/aix.h @@ -23,6 +23,7 @@ #define DEFAULT_ABI ABI_AIX #undef TARGET_AIX #define TARGET_AIX 1 +#define OPTION_GLIBC 0 /* Linux64.h wants to redefine TARGET_AIX based on -m64, but it can't be used in the #if conditional in options-default.h, so provide another macro. */ |