mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-16 10:43:29 +00:00
Split RISC-V targets into 32/64-bit
This commit is contained in:
+2
-16
@@ -1,19 +1,5 @@
|
||||
{
|
||||
"inherits": ["riscv"],
|
||||
"inherits": ["riscv64"],
|
||||
"features": ["+a", "+c", "+m", "+f", "+d"],
|
||||
"build-tags": ["k210", "kendryte"],
|
||||
"llvm-target": "riscv64--none",
|
||||
"cflags": [
|
||||
"--target=riscv64--none",
|
||||
"-march=rv64gc",
|
||||
"-mabi=lp64d",
|
||||
"-Os",
|
||||
"-Werror",
|
||||
"-fno-exceptions", "-fno-unwind-tables",
|
||||
"-ffunction-sections", "-fdata-sections"
|
||||
],
|
||||
"ldflags": [
|
||||
"-melf64lriscv",
|
||||
"--gc-sections"
|
||||
]
|
||||
"build-tags": ["k210", "kendryte"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user