diff --git a/gcc/gcc/config/aarch64/aarch64.h b/gcc/gcc/config/aarch64/aarch64.h
index 976f9afae5..736b83ff0b 100644
a
|
b
|
extern const char *aarch64_rewrite_mcpu (int argc, const char **argv);
|
1000 | 1000 | #define MCPU_TO_MARCH_SPEC_FUNCTIONS \ |
1001 | 1001 | { "rewrite_mcpu", aarch64_rewrite_mcpu }, |
1002 | 1002 | |
1003 | | #if defined(__aarch64__) |
| 1003 | #if defined(__aarch64__) && ! defined(__APPLE__) |
1004 | 1004 | extern const char *host_detect_local_cpu (int argc, const char **argv); |
1005 | 1005 | #define HAVE_LOCAL_CPU_DETECT |
1006 | 1006 | # define EXTRA_SPEC_FUNCTIONS \ |
diff --git a/gcc/gcc/config/host-darwin.c b/gcc/gcc/config/host-darwin.c
index 8f700eec85..b737abc006 100644
a
|
b
|
|
22 | 22 | #include "coretypes.h" |
23 | 23 | #include "diagnostic-core.h" |
24 | 24 | #include "config/host-darwin.h" |
| 25 | #include "hosthooks.h" |
| 26 | #include "hosthooks-def.h" |
25 | 27 | |
26 | 28 | /* Yes, this is really supposed to work. */ |
27 | 29 | static char pch_address_space[1024*1024*1024] __attribute__((aligned (4096))); |
… |
… |
darwin_gt_pch_use_address (void *addr, size_t sz, int fd, size_t off)
|
75 | 77 | |
76 | 78 | return ret; |
77 | 79 | } |
| 80 | |
| 81 | const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER; |