aboutsummaryrefslogtreecommitdiffstats
path: root/sys/syz-extract
diff options
context:
space:
mode:
Diffstat (limited to 'sys/syz-extract')
-rw-r--r--sys/syz-extract/freebsd.go5
1 files changed, 5 insertions, 0 deletions
diff --git a/sys/syz-extract/freebsd.go b/sys/syz-extract/freebsd.go
index 52300a383..e4de34069 100644
--- a/sys/syz-extract/freebsd.go
+++ b/sys/syz-extract/freebsd.go
@@ -27,6 +27,11 @@ func (*freebsd) prepareArch(arch *Arch) error {
if archName == "386" {
archName = "i386"
}
+
+ if archName == "riscv64" {
+ archName = "riscv"
+ }
+
if err := os.Symlink(filepath.Join(arch.sourceDir, "sys", archName, "include"),
filepath.Join(arch.buildDir, "machine")); err != nil {
return fmt.Errorf("failed to create link: %v", err)