From 3a5fdf986dc6ebb6e244087b462132590ad0a184 Mon Sep 17 00:00:00 2001 From: Iain Sandoe Date: Fri, 28 Jan 2022 19:17:16 +0000 Subject: [PATCH] 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 gcc/ChangeLog: * config/rs6000/darwin.h (OPTION_GLIBC): Define to 0. --- 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 b5cef42..210c606 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 -- 2.7.4