mirror of
https://github.com/tinygo-org/tinygo.git
synced 2026-08-08 04:53:42 +00:00
Split RISC-V targets into 32/64-bit
This commit is contained in:
+1
-15
@@ -1,19 +1,5 @@
|
||||
{
|
||||
"inherits": ["riscv32"],
|
||||
"features": ["+a", "+c", "+m"],
|
||||
"build-tags": ["fe310", "sifive"],
|
||||
"llvm-target": "riscv32--none",
|
||||
"cflags": [
|
||||
"--target=riscv32--none",
|
||||
"-march=rv32imac",
|
||||
"-mabi=ilp32",
|
||||
"-Os",
|
||||
"-Werror",
|
||||
"-fno-exceptions", "-fno-unwind-tables",
|
||||
"-ffunction-sections", "-fdata-sections"
|
||||
],
|
||||
"ldflags": [
|
||||
"-melf32lriscv",
|
||||
"--gc-sections"
|
||||
]
|
||||
"build-tags": ["fe310", "sifive"]
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user