mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-18 19:44:00 +00:00
risc-v: add support for 64-bit RISC-V CPUs
This commit is contained in:
@@ -0,0 +1,13 @@
|
||||
{
|
||||
"inherits": ["riscv"],
|
||||
"llvm-target": "riscv64--none",
|
||||
"build-tags": ["tinygo.riscv64"],
|
||||
"cflags": [
|
||||
"--target=riscv64--none",
|
||||
"-march=rv64gc",
|
||||
"-mabi=lp64"
|
||||
],
|
||||
"ldflags": [
|
||||
"-melf64lriscv"
|
||||
]
|
||||
}
|
||||
Reference in New Issue
Block a user