已开启
提供kerberos在riscv64平台上的适配 #317
MengMengDeXiaoJi创建于 2025年5月8日
提供kerberos在riscv64平台上的适配 #317
已开启
共 1 个文件变更+26-0
| @@ -0,0 +1,26 @@ | |||
| 1 | +From 8d18d3d8a3232a6effda424318961cccfebb0b33 Mon Sep 17 00:00:00 2001 | ||
| 2 | +From: huangji <huangji@iscas.ac.cn> | ||
| 3 | +Date: Fri, 28 Feb 2025 07:30:11 +0000 | ||
| 4 | +Subject: [PATCH] fix build error | ||
| 5 | + | ||
| 6 | +Signed-off-by: huangji <huangji@iscas.ac.cn> | ||
| 7 | +--- | ||
| 8 | + src/include/k5-platform.h | 2 +- | ||
| 9 | + 1 file changed, 1 insertion(+), 1 deletion(-) | ||
| 10 | + | ||
| 11 | +diff --git a/src/include/k5-platform.h b/src/include/k5-platform.h | ||
| 12 | +index 1124931..6f8ba61 100644 | ||
| 13 | +--- a/src/include/k5-platform.h | ||
| 14 | ++++ b/src/include/k5-platform.h | ||
| 15 | + typedef struct { int error; unsigned char did_run; } k5_init_t; | ||
| 16 | + | ||
| 17 | + | ||
| 18 | + | ||
| 19 | +-#if defined(USE_LINKER_FINI_OPTION) || defined(_WIN32) | ||
| 20 | ++#if defined(USE_LINKER_FINI_OPTION) || defined(_WIN32) || defined(__riscv) | ||
| 21 | + /* If we're told the linker option will be used, it doesn't really | ||
| 22 | + matter what compiler we're using. Do it the same way | ||
| 23 | + regardless. */ | ||
| 24 | +-- | ||
| 25 | +2.41.0 | ||
| 26 | + | ||