aboutsummaryrefslogtreecommitdiffstats
path: root/pkg
diff options
context:
space:
mode:
Diffstat (limited to 'pkg')
-rw-r--r--pkg/compiler/const_file.go2
1 files changed, 2 insertions, 0 deletions
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 {