public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6860] aix: AIX is not GLIBC.
@ 2022-01-25 15:30 David Edelsohn
  0 siblings, 0 replies; only message in thread
From: David Edelsohn @ 2022-01-25 15:30 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:9099e0bc6667ba319f4b794a5a98a364e7f9aef9

commit r12-6860-g9099e0bc6667ba319f4b794a5a98a364e7f9aef9
Author: David Edelsohn <dje.gcc@gmail.com>
Date:   Tue Jan 25 10:18:28 2022 -0500

    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.

Diff:
---
 gcc/config/rs6000/aix.h | 1 +
 1 file changed, 1 insertion(+)

diff --git a/gcc/config/rs6000/aix.h b/gcc/config/rs6000/aix.h
index ad3238bf09a..eb7a0c09f72 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.  */


^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2022-01-25 15:30 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-25 15:30 [gcc r12-6860] aix: AIX is not GLIBC David Edelsohn

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).