nixpkgs/pkgs/development/tools/tradcpp/aarch64.patch

13 lines
257 B
Diff
Raw Normal View History

2018-12-05 18:48:18 +00:00
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