projects
/
platform
/
upstream
/
gcc.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c2b610e
)
Darwin, PPC: Fix bootstrap after GLIBC version changes.
author
Iain Sandoe
<iain@sandoe.co.uk>
Fri, 28 Jan 2022 19:17:16 +0000
(19:17 +0000)
committer
Iain Sandoe
<iain@sandoe.co.uk>
Fri, 28 Jan 2022 19:17:16 +0000
(19:17 +0000)
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.
gcc/config/rs6000/darwin.h
patch
|
blob
|
history
diff --git
a/gcc/config/rs6000/darwin.h
b/gcc/config/rs6000/darwin.h
index
b5cef42
..
210c606
100644
(file)
--- 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