aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Forney <mforney@mforney.org>2024-04-23 11:13:13 -0700
committerMichael Forney <mforney@mforney.org>2024-04-23 11:13:13 -0700
commitccb1421a28d5a76c7c115af2bb8927385f0ee54b (patch)
tree20f50f8a61f5313c8bd876a0f94c496fe290079b
parenta91b07c2e3488375e386ef1849744c26d09a2259 (diff)
configure: Set DEFAULT_DYNAMIC_LINKER for riscv64-linux-gnu
-rwxr-xr-xconfigure1
1 files changed, 1 insertions, 0 deletions
diff --git a/configure b/configure
index d67a74f..7d2de5c 100755
--- a/configure
+++ b/configure
@@ -65,6 +65,7 @@ case "$target" in
test "${DEFAULT_DYNAMIC_LINKER+set}" || case "$target" in
x86_64*) DEFAULT_DYNAMIC_LINKER=/lib64/ld-linux-x86-64.so.2 ;;
aarch64*) DEFAULT_DYNAMIC_LINKER=/lib/ld-linux-aarch64.so.1 ;;
+ riscv64*) DEFAULT_DYNAMIC_LINKER=/lib/ld-linux-riscv64-lp64d.so.1 ;;
*) fail "unsuported target '$target'"
esac
startfiles='"-l", ":crt1.o", "-l", ":crti.o", "-l", ":crtbegin.o"'