nixpkgs-suyu/pkgs/development/tools/tradcpp/aarch64.patch
2018-12-05 13:48:18 -05:00

12 lines
257 B
Diff

diff a/config.h b/config.h
--- a/config.h
+++ b/config.h
@@ -124,6 +124,8 @@
#define CONFIG_CPU "__ppc64__"
#elif defined(__ARM__)
#define CONFIG_CPU "__ARM__"
+#elif defined(__aarch64__)
+#define CONFIG_CPU "__aarch64__"
#else
/* let it go */
#endif