]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
aix: AIX is not GLIBC.
authorDavid Edelsohn <dje.gcc@gmail.com>
Tue, 25 Jan 2022 15:18:28 +0000 (10:18 -0500)
committerDavid Edelsohn <dje.gcc@gmail.com>
Tue, 25 Jan 2022 15:29:21 +0000 (10:29 -0500)
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.

gcc/config/rs6000/aix.h

index ad3238bf09ae7c0be2ffdfe9f0a17da388f26130..eb7a0c09f726c0b6959d15c77169a0d1f902962d 100644 (file)
@@ -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.  */