public inbox for gcc-cvs@sourceware.org
help / color / mirror / Atom feed
* [gcc r12-6925] Darwin, PPC: Fix bootstrap after GLIBC version changes.
@ 2022-01-28 19:22 Iain D Sandoe
  0 siblings, 0 replies; only message in thread
From: Iain D Sandoe @ 2022-01-28 19:22 UTC (permalink / raw)
  To: gcc-cvs

https://gcc.gnu.org/g:3a5fdf986dc6ebb6e244087b462132590ad0a184

commit r12-6925-g3a5fdf986dc6ebb6e244087b462132590ad0a184
Author: Iain Sandoe <iain@sandoe.co.uk>
Date:   Fri Jan 28 19:17:16 2022 +0000

    Darwin, PPC: Fix bootstrap after GLIBC version changes.
    
    A recent patch added tests for OPTION_GLIBC that is defined in
    linux.h and linux64.h.  This broke bootstrap for powerpc Darwin.
    Fixed by adding a definition to 0 for OPTION_GLIBC.
    
    Signed-off-by: Iain Sandoe <iain@sandoe.co.uk>
    
    gcc/ChangeLog:
    
            * config/rs6000/darwin.h (OPTION_GLIBC): Define to 0.

Diff:
---
 gcc/config/rs6000/darwin.h | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/config/rs6000/darwin.h b/gcc/config/rs6000/darwin.h
index b5cef42610f..210c60694cd 100644
--- a/gcc/config/rs6000/darwin.h
+++ b/gcc/config/rs6000/darwin.h
@@ -34,6 +34,8 @@
 #endif
 #endif
 
+#define OPTION_GLIBC 0
+
 /* The object file format is Mach-O.  */
 
 #define TARGET_OBJECT_FORMAT OBJECT_MACHO


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

only message in thread, other threads:[~2022-01-28 19:22 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-01-28 19:22 [gcc r12-6925] Darwin, PPC: Fix bootstrap after GLIBC version changes Iain D Sandoe

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).