File tree Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Expand file tree Collapse file tree 1 file changed +30
-0
lines changed Original file line number Diff line number Diff line change 1+ diff -ru a/gcc/config/host-darwin.c b/gcc/config/host-darwin.c
2+ --- a/gcc/config/host-darwin.c 2021-04-08 13:56:28.000000000 +0200
3+ +++ b/gcc/config/host-darwin.c 2021-12-13 14:48:53.000000000 +0100
4+ @@ -22,6 +22,8 @@
5+ #include "coretypes.h"
6+ #include "diagnostic-core.h"
7+ #include "config/host-darwin.h"
8+ + #include "hosthooks.h"
9+ + #include "hosthooks-def.h"
10+
11+ /* Yes, this is really supposed to work. */
12+ /* This allows for a pagesize of 16384, which we have on Darwin20, but should
13+ @@ -78,3 +80,5 @@
14+
15+ return ret;
16+ }
17+ +
18+ + const struct host_hooks host_hooks = HOST_HOOKS_INITIALIZER;
19+ diff -ru a/gcc/config/aarch64/aarch64.h b/gcc/config/aarch64/aarch64.h
20+ --- a/gcc/config/aarch64/aarch64.h 2021-04-08 13:56:28.000000000 +0200
21+ +++ b/gcc/config/aarch64/aarch64.h 2021-12-13 14:50:07.000000000 +0100
22+ @@ -1200,7 +1200,7 @@
23+ #define MCPU_TO_MARCH_SPEC_FUNCTIONS \
24+ { "rewrite_mcpu", aarch64_rewrite_mcpu },
25+
26+ - #if defined(__aarch64__)
27+ + #if defined(__aarch64__) && ! defined(__APPLE__)
28+ extern const char *host_detect_local_cpu (int argc, const char **argv);
29+ #define HAVE_LOCAL_CPU_DETECT
30+ # define EXTRA_SPEC_FUNCTIONS \
You can’t perform that action at this time.
0 commit comments