In Ubuntu, we've applied the attached patch to achieve the following:
* debian/patches/arm64-support.patch: - Add ARM 64 support. We thought you might be interested in doing the same.
diff -Nru erlang-jiffy-0.8.5+dfsg/debian/patches/arm64-support.patch erlang-jiffy-0.8.5+dfsg/debian/patches/arm64-support.patch --- erlang-jiffy-0.8.5+dfsg/debian/patches/arm64-support.patch 1970-01-01 01:00:00.000000000 +0100 +++ erlang-jiffy-0.8.5+dfsg/debian/patches/arm64-support.patch 2015-02-15 23:59:11.000000000 +0100 @@ -0,0 +1,18 @@ +From: Artur Rona <ari-tc...@ubuntu.com> +Description: Add ARM 64 support. +Bug-Debian: http://bugs.debian.org/764500 +Origin: upstream, https://github.com/vitaut/double-conversion/commit/86c52dab02836843e9e32793768ec5b9b3401049 + https://code.google.com/p/double-conversion/source/detail?r=4e24bb31bcc76d6d218f3056b4c24a109d367561 + +--- erlang-jiffy-0.8.5+dfsg.orig/c_src/double-conversion/utils.h ++++ erlang-jiffy-0.8.5+dfsg/c_src/double-conversion/utils.h +@@ -58,7 +58,8 @@ + defined(__mips__) || defined(__powerpc__) || \ + defined(__sparc__) || defined(__sparc) || defined(__s390__) || \ + defined(__SH4__) || defined(__alpha__) || \ +- defined(_MIPS_ARCH_MIPS32R2) ++ defined(_MIPS_ARCH_MIPS32R2) || \ ++ defined(__AARCH64EL__) + #define DOUBLE_CONVERSION_CORRECT_DOUBLE_OPERATIONS 1 + #elif defined(_M_IX86) || defined(__i386__) || defined(__i386) + #if defined(_WIN32) diff -Nru erlang-jiffy-0.8.5+dfsg/debian/patches/series erlang-jiffy-0.8.5+dfsg/debian/patches/series --- erlang-jiffy-0.8.5+dfsg/debian/patches/series 2013-10-11 06:11:54.000000000 +0200 +++ erlang-jiffy-0.8.5+dfsg/debian/patches/series 2015-02-16 00:28:58.000000000 +0100 @@ -2,3 +2,4 @@ fix_makefile remove_git_clean change_optimize +arm64-support.patch