aboutsummaryrefslogtreecommitdiff
path: root/src/compat/glibc_compat.cpp
diff options
context:
space:
mode:
authorChun Kuan Lee <ken2812221@gmail.com>2018-07-14 01:39:24 +0000
committerChun Kuan Lee <ken2812221@gmail.com>2018-08-09 03:35:51 +0800
commitc4aecd1d80801f3e3dd4bde887b5d1a11e8452b7 (patch)
tree106550554791b032301b4a395bea30e39904e691 /src/compat/glibc_compat.cpp
parent96dda8b0589affb88a909aaf62e95bebc4c18ba2 (diff)
Add risc-v 64-bit to gitian
Diffstat (limited to 'src/compat/glibc_compat.cpp')
-rw-r--r--src/compat/glibc_compat.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/compat/glibc_compat.cpp b/src/compat/glibc_compat.cpp
index b1cbe9f72a..202a4f6278 100644
--- a/src/compat/glibc_compat.cpp
+++ b/src/compat/glibc_compat.cpp
@@ -67,6 +67,8 @@ __asm(".symver log2f_old,log2f@GLIBC_2.2.5");
__asm(".symver log2f_old,log2f@GLIBC_2.4");
#elif defined(__aarch64__)
__asm(".symver log2f_old,log2f@GLIBC_2.17");
+#elif defined(__riscv)
+__asm(".symver log2f_old,log2f@GLIBC_2.27");
#endif
extern "C" float __wrap_log2f(float x)
{