⛏️ index : buildtools.git

author Mashijams <raghavself28@gmail.com> 2022-03-19 15:52:12.0 +05:30:00
committer Adrien Destugues <pulkomandy@gmail.com> 2022-04-17 8:24:24.0 +00:00:00
commit
faaf2fe1c82eb0997e642c175023fe74a8321d4f [patch]
tree
eed16e230d5d8ac05c8e67ba994386c802d2fe70
parent
016003468a3be26a679e54d67bb3c78b90eabb76
download
faaf2fe1c82eb0997e642c175023fe74a8321d4f.tar.gz

Fixes build error on MacOS

This patch fixes build error caused due to HOST_HOOKS_INITIALIZER

Change-Id: I2094a5258e0100bd027b6780a214e3869f56368e
Reviewed-on: https://review.haiku-os.org/c/buildtools/+/5114
Reviewed-by: Adrien Destugues <pulkomandy@gmail.com>

Diff

 gcc/gcc/config/host-darwin.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/gcc/gcc/config/host-darwin.c b/gcc/gcc/config/host-darwin.c
index 0d26a76..b621e7c 100644
--- a/gcc/gcc/config/host-darwin.c
+++ a/gcc/gcc/config/host-darwin.c
@@ -80,4 +80,6 @@
  return ret;
}

#if defined(__aarch64__)

const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
#endif