From 08b7160aa773ecc3307eefc98e829cd10daa4b69 Mon Sep 17 00:00:00 2001 From: P1umer <1226063714@qq.com> Date: Wed, 20 Jul 2022 18:38:41 +0800 Subject: all: add freebsd/riscv64 support --- pkg/compiler/const_file.go | 2 ++ 1 file changed, 2 insertions(+) (limited to 'pkg/compiler') diff --git a/pkg/compiler/const_file.go b/pkg/compiler/const_file.go index 8f4bfe390..6755fffc8 100644 --- a/pkg/compiler/const_file.go +++ b/pkg/compiler/const_file.go @@ -90,6 +90,8 @@ func (cf *ConstFile) Serialize() []byte { for arch := range cf.arches { arches = append(arches, arch) } + arches = append(arches, "riscv64") + sort.Strings(arches) var consts []constVal for _, cv := range cf.m { -- cgit mrf-deployment