Skip to content

Instantly share code, notes, and snippets.

@kateinoigakukun
Created September 16, 2021 13:25
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save kateinoigakukun/5a658a1c0a78220b5a1189a1214c3063 to your computer and use it in GitHub Desktop.
Save kateinoigakukun/5a658a1c0a78220b5a1189a1214c3063 to your computer and use it in GitHub Desktop.
diff --git a/gcc/config.host b/gcc/config.host
index 0a02c33cc80..e293a8ccc3f 100644
--- a/gcc/config.host
+++ b/gcc/config.host
@@ -255,6 +255,9 @@ case ${host} in
out_host_hook_obj="${out_host_hook_obj} host-i386-darwin.o"
host_xmake_file="${host_xmake_file} i386/x-darwin"
;;
+ aarch64-*-darwin*)
+ out_host_hook_obj="${out_host_hook_obj} host-default.o"
+ ;;
powerpc-*-darwin*)
out_host_hook_obj="${out_host_hook_obj} host-ppc-darwin.o"
host_xmake_file="${host_xmake_file} rs6000/x-darwin"
@kateinoigakukun
Copy link
Author

Apply this on the top of riscv-gcc 5964b5cd72721186ea2195a7be8d40cfe6554023

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment